home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / sgi-admin < prev    next >
Encoding:
Text File  |  1995-04-11  |  87.5 KB  |  2,211 lines

  1. Archive-name: sgi/faq/admin
  2. Last-modified: Sun Feb 26 15:42:28 CST 1995
  3.  
  4.     SGI admin Frequently Asked Questions (FAQ)
  5.  
  6. This is one of the Silicon Graphics FAQ series, which consists of:
  7.  
  8.     SGI admin FAQ - IRIX system administration
  9.     SGI apps FAQ - Applications and miscellaneous programming
  10.     SGI audio FAQ - Audio applications and programming
  11.     SGI graphics FAQ - Graphics and user environment customization
  12.     SGI hardware FAQ - Hardware
  13.     SGI impressario FAQ - IRIS Impressario
  14.     SGI inventor FAQ - IRIS Inventor
  15.     SGI misc FAQ - Introduction & miscellaneous information
  16.     SGI movie FAQ - Movies
  17.     SGI performer FAQ - IRIS Performer
  18.     SGI pointer FAQ - Pointer to the other FAQs
  19.  
  20. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  21. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  22. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  23. can't find one of the FAQs with your news program, you can get it by
  24. anonymous FTP from one of these sites:
  25.  
  26.     viz.tamu.edu:/pub/sgi/faq/
  27.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  28.     ftp.uu.net:/usenet/news.answers/sgi/faq/
  29.  
  30. Note that rtfm.mit.edu is home to many other FAQs and informational
  31. documents, and is a good place to look if you can't find an answer here.
  32. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with the
  33. word 'help' on a line by itself in the text, and it will send you a
  34. document describing how to get files from rtfm.mit.edu by mail. Send the
  35. command 'send usenet/news.answers/sgi/faq/misc' to get the SGI misc FAQ,
  36. and similarly for the other FAQs. Finally, the FAQs are on the World
  37. Wide Web at
  38.  
  39.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  40.  
  41. The SGI FAQs are freely distributable and we encourage wide circulation.
  42. You MUST keep the FAQs intact, including headers and this notice.  The
  43. contents are accurate as far as we know, but the usual disclaimers
  44. apply. (In particular, copies of the SGI FAQs published on paper or
  45. CD-ROM are certain to be out of date!) Please send additions and changes
  46. to sgi-faq@viz.tamu.edu.
  47.  
  48. Topics covered in this FAQ:
  49. ---------------------------
  50.    -1- DIAGNOSTICS
  51.    -2- How can I determine which release of IRIX I'm running?
  52.    -3- How can I determine my SGI's Ethernet (and/or FDDI) address?
  53.    -4- My SGI crashed and generated a file, /usr/adm/crash/vmcore.1. How
  54.        can I examine this file to see what crashed my system?
  55.    -5- DISKS
  56.    -6- How big can files and filesystems be?
  57.    -7- Why is /debug or /proc full of huge files?
  58.    -8- How do I extend an existing filesystem onto a new disk?
  59.    -9- How do I know if I need more memory and/or swap space?
  60.   -10- How much swap space should I have per megabyte of memory?
  61.   -11- How can I increase my swap space?
  62.   -12- What are virtual and logical swap space? How do they work in IRIX
  63.        3.x, 4.0.x and 5.x?
  64.   -13- BOOTING
  65.   -14- How can I boot directly into single-user mode?
  66.   -15- How can I boot from a non-default disk?
  67.   -16- How can I boot my machine using a server on the other side of a
  68.        router?
  69.   -17- How do I make a bootable tape from an IRIX CD?
  70.   -18- Why can't I boot one of the stand-alone programs on a tape or CD?
  71.   -19- INSTALLING
  72.   -20- Is it possible to remotely install IRIX over a network?
  73.   -21- Which IRIX CD is the program 'foo' on?
  74.   -22- How can I extract a single file from an 'inst' subsystem?
  75.   -23- Why doesn't 'inst' work?
  76.   -24- Why doesn't 'inst' work remotely?
  77.   -25- I just installed a new version of IRIX and file X is missing.
  78.        What should I do?
  79.   -26- I reinstalled an IRIX subsystem to restore a missing file or get
  80.        rid of a corrupted file, but it didn't help. Why not?
  81.   -27- How can I install IRIX onto a second disk which I can then move
  82.        to another machine?
  83.   -28- How can I copy my system disk onto a second disk which I can then
  84.        move to another machine?
  85.   -29- NETWORKING
  86.   -30- Why isn't my network working?
  87.   -31- How can I measure my network's reliability?
  88.   -32- How do I add a static route?
  89.   -33- How can I make the 'slip' command advertise the Ethernet address
  90.        of the SLIP client?
  91.   -34- I've just edited inetd.conf, and nothing changed. Why?
  92.   -35- Why can't I 'rdist' files between Suns and SGIs?
  93. ! -36- Why isn't the objectserver working?
  94.   -37- What is sending packets to the sgi-dog.mcast.net multicast
  95.        address?
  96.   -38- Why are the objectserver and directoryserver taking up so much
  97.        memory in IRIX 5.3?
  98.   -39- Why doesn't my desktop deal properly with the CD or tape icons?
  99.   -40- Why doesn't my mediad start up under IRIX 5.3?
  100.   -41- Why are there "satwrite failure: inetd" messages in my SYSLOG in
  101.        IRIX 5.3?
  102.   -42- MAIL
  103.   -43- How can I set up 'sendmail' to pass (or not pass) 8-bit
  104.        characters?
  105.   -44- Why are my mailbox files changing ownership?
  106.   -45- Why isn't a valid user getting their mail?
  107.   -46- How can SGIs and Suns share a mail spool?
  108.   -47- What's an "unknown mailer error"?
  109.   -48- What's "mailbox: Error 0"?
  110.   -49- Why can't I receive mail on an NFS-mounted mail spool under IRIX
  111.        5.2?
  112.   -50- Why do mail programs have trouble with NFS-mounted mailboxes in
  113.        IRIX 5.3?
  114.   -51- NFS
  115.   -52- How can I tell what hostname to use in /etc/exports?
  116.   -53- Why can't I export an NFS-mounted filesystem?
  117.   -54- Why can't Ultrix automount SGI filesystems?
  118.   -55- Why does 'tar' work strangely on a filesystem mounted from an
  119.        SGI?
  120.   -56- Is 'pcnfsd' available for the SGI?
  121.   -57- Can I export a CD-ROM from my SGI to a non-SGI?
  122.   -58- Why can't I export an ISO 9660 CD-ROM using NFS?
  123.   -59- How can I read an IRIX (EFS) CD-ROM on a machine which doesn't
  124.        use EFS?
  125.   -60- How can I get quotas to work on an NFS filesystem?
  126.   -61- Why can't some NFS clients NFS-mount IRIX 5.2 filesystems?
  127. ! -62- What's NFS3?
  128.   -63- PRINTING
  129.   -64- Why can't 'lp' read my file?
  130.   -65- How can I use 'lpr' to print to my local printer?
  131.   -66- How can I use 'lp' to print to an 'lpr'-controlled printer?
  132.   -67- How can I tell 'lp' to turn banner printing or page reversal off
  133.        or on?
  134.   -68- SECURITY
  135. ! -69- Where can I learn about IRIX and Unix security?
  136.   -70- How can I check my system for security problems?
  137.   -71- How can I configure IRIX more securely?
  138.   -72- How can I log more information about logins?
  139.   -73- How can I make an anonymous or restricted FTP account?
  140. ! -74- How can I get X authorization to work?
  141. ! -75- What security-related bugs does IRIX have?
  142. ! -76- I think I've found a security hole in IRIX; whom do I notify at
  143.        SGI?
  144.   -77- BUGS
  145.   -78- Why is my network license daemon ('netlsd') exiting?
  146.   -79- What's this 'iotim' error in my syslog in IRIX 4.0.x?
  147.   -80- Why do some programs parse /etc/fstab incorrectly in IRIX 4.0.5?
  148.   -81- Why is my Indigo's Ethernet performance dog-slow under IRIX
  149.        4.0.x?
  150.   -82- Why is my Indigo getting SIGSEGVs and crashing under IRIX
  151.        4.0.5IOP?
  152.   -83- Why is my Indigo2 panicking under IRIX 4.0.5?
  153.   -84- Why do 'who', 'rusers', etc. show users who aren't really logged
  154.        in?
  155.   -85- What's wrong with ftpd in IRIX 5.2?
  156.   -86- Why isn't /usr/adm/SYSLOG being updated?
  157.   -87- I just edited /etc/inittab, and now I can't start up or shut down
  158.        my SGI! What's wrong?
  159.   -88- Why does timed say "bind: Cannot assign requested address"?
  160.   -89- Why is famd hammering my NFS server?
  161.   -90- MISCELLANEOUS
  162.   -91- How do I set the number of processes allowed on my machine?
  163.   -92- Where can I get a termcap file for 'iris-ansi-net' to install on
  164.        my non-SGI system?
  165.   -93- How can I make my SGI understand strange terminal types from
  166.        other Unix systems?
  167.   -94- Can I change my full name or login shell without being superuser?
  168.   -95- How can I administer my Iris without a graphics terminal?
  169.   -96- How can I use the visual admin tools on a system with graphics to
  170.        administer a system without graphics?
  171.   -97- Can I put a single large picture in the 'clogin' display?
  172.  
  173. ----------------------------------------------------------------------
  174.  
  175. Subject:    -1- DIAGNOSTICS
  176. Date: 15 May 94 00:00:01 EST
  177.  
  178.   These questions discuss how to find out things about your system.
  179.  
  180. ------------------------------
  181.  
  182. Subject:    -2- How can I determine which release of IRIX I'm running?
  183. Date: 07 Feb 94 00:00:01 CST
  184.  
  185.   'uname -a' gives you all the kernel info; see the uname(1) manpage
  186.   for other options.
  187.  
  188.   Of more general use, since kernels don't always reflect installed
  189.   software, is the 'versions' command.  'versions' with no arguments
  190.   lists all the installed software subsystems.
  191.  
  192.   IRIX 5.2's System Manager ('chost') has the IRIX version number under
  193.   "IRIX Version" and a listing of installed software under "Software"
  194.   (the "Show Installed" button).
  195.  
  196. ------------------------------
  197.  
  198. Subject:    -3- How can I determine my SGI's Ethernet (and/or FDDI)
  199.                 address?
  200. Date: 07 Feb 94 00:00:01 CST
  201.  
  202.   Many thanks to Miguel Sanchez <miguel@oasis.csd.sgi.com> for
  203.   providing the original version of the following discussion, and to
  204.   Dave Olson <olson@sgi.com> for comments. Andrew Cherenson
  205.   <arc@sgi.com> reminded us that all these methods except the first
  206.   apply to FDDI as well, but we'll just say "Ethernet" below.
  207.  
  208.   Every system on an Ethernet network must have a unique Ethernet
  209.   address for the network to operate properly. The physical Ethernet
  210.   address of your system is the unique number assigned to the Ethernet
  211.   hardware on your system. This unique number is assigned to the
  212.   manufacturer of your Ethernet hardware by the IEEE (formerly by
  213.   Xerox, one of the original developers of Ethernet). This is not to be
  214.   confused with the IP address, which can be set arbitrarily.
  215.  
  216.   You may need to determine your system's Ethernet address if your
  217.   network manager requires it before connecting your system to a
  218.   network.  How to do so depends on whether IRIX is running and what
  219.   operating system version is loaded.  Method 1 only provides the
  220.   Ethernet address of the primary interface.  If you have multiple
  221.   Ethernet interfaces (boards) in a system, use method 2, 3, 4 or 5 to
  222.   determine the address(es) of any other interface(s).
  223.  
  224.   METHOD 1: eaddr
  225.  
  226.       If IRIX is not running, and the system is a Personal IRIS (4D20,
  227.       25, 30, or 35), Indigo, Crimson, Onyx or Challenge, you can
  228.       obtain the Ethernet address by typing 'eaddr' (older machines) or
  229.       'printenv eaddr' (newer) at the PROM monitor prompt.  On some
  230.       machines (4D30 or later) you can say 'nvram eaddr' while IRIX is
  231.       running to get the same result.
  232.  
  233.   METHOD 2: netstat
  234.  
  235.       Under IRIX 4.0.1 or later, you can use the netstat command. For
  236.       example,
  237.  
  238.       % /usr/etc/netstat -ia
  239.       Name  Mtu    Network   Address            Ipkts   Ierrs   Opkts  Oerrs  Coll
  240.       ec0   1500   siligrph  luey7              7765678 21648  384477     0  30338
  241.                   192.48.200.251
  242.                   192.0.0.1
  243.                   08:00:69:06:17:c2
  244.       lo0   32880  loopback localhost           41438       0   41438     0      0
  245.                   192.0.0.1
  246.  
  247.       As seen on the fourth address line, the address of the system
  248.       luey7's primary Ethernet interface, "ec0", is 08:00:69:06:17:c2.
  249.  
  250.   METHOD 3: arp
  251.  
  252.       You can obtain the Ethernet address of a Silicon Graphics system
  253.       by using another system on your network. 'ping' the system whose
  254.       Ethernet address you want, then use 'arp'. For example,
  255.  
  256.       % /usr/etc/ping -c 1 luey6
  257.       PING luey6.sgi.com (192.48.200.250): 56 data bytes
  258.       64 bytes from 192.48.200.250: icmp_seq=0 ttl=255 time=0 ms
  259.       ----luey6.sgi.com PING Statistics----
  260.       3 packets transmitted, 3 packets received, 0% packet loss
  261.       round-trip (ms)  min/avg/max = 0/0/0
  262.       % /usr/etc/arp luey6
  263.       luey6 (192.48.200.250) at 8:0:69:6:c:40
  264.       %
  265.  
  266.   METHOD 4: NetVizualyzer/FDDIVizualyzer and the like
  267.  
  268.       SGI's NetVizualyzer/FDDIVizualyzer network monitoring software
  269.       and at least one public domain equivalent ('netman', at
  270.       ftp.cs.curtin.edu.au:/pub/netman/) allow you to find the Ethernet
  271.       address corresponding to any IP address. Read the manual.
  272.  
  273.   METHOD 5: System Manager
  274.  
  275.       The Network Setup part ('cnet') of IRIX 5.2's System Manager tool
  276.       ('chost') shows the Ethernet address of each interface.
  277.  
  278.   4DDN: A Special Case
  279.  
  280.       DECnet uses a one-to-one relationship between the DECnet node ID
  281.       and the Ethernet address. If the DECnet address is changed the
  282.       Ethernet address is changed. DECnet Ethernet addresses always
  283.       start with aa:, so you can identify systems running DECnet with
  284.       'arp -a'.
  285.  
  286.       4DDN is Silicon Graphics' DECnet interconnection product. The
  287.       Ethernet address of an IRIS running 4DDN will change when 4DDN is
  288.       started.  Method 1 will return the original Ethernet address for
  289.       the system.  Methods 2-5 will show the Ethernet address currently
  290.       in use.
  291.  
  292.   sysinfo
  293.  
  294.       /etc/sysinfo is intended to return a unique identifier, which on
  295.       some machines includes part or all of the Ethernet address. This
  296.       is best regarded as an amusing coincidence, like HAL's name in
  297.       "2001".  Don't rely on it.
  298.  
  299. ------------------------------
  300.  
  301. Subject:    -4- My SGI crashed and generated a file,
  302.                 /usr/adm/crash/vmcore.1. How can I examine this file to
  303.                 see what crashed my system?
  304. Date: 12 Jul 94 00:00:01 EST
  305.  
  306.   For a start, you can use 'dbx' like so:
  307.  
  308.     dbx -k /var/adm/crash/{unix,vmcore}.#
  309.     t
  310.     &putbuf/1000s
  311.  
  312.   Some machines have a special 'dbx' for crash dumps,
  313.   /usr/adm/crash/dbx.  If it exists, use it instead of /usr/bin/dbx.
  314.  
  315.   The IRIX 5.x Electronic Services package includes a script, 'crpt',
  316.   which does this and more automagically. A copy of the IRIX 5.2
  317.   version lives at viz.tamu.edu:/pub/sgi/software/crpt/.
  318.  
  319. ------------------------------
  320.  
  321. Subject:    -5- DISKS
  322. Date: 15 May 94 00:00:01 EST
  323.  
  324.   These questions deal with disks and swap space.
  325.  
  326. ------------------------------
  327.  
  328. Subject:    -6- How big can files and filesystems be?
  329. Date: 30 Jan 95 00:00:01 EST
  330.  
  331.   A file on an EFS filesystem can only be 2G in size. The filesystem can
  332.   be no more than 8G in size, whether or not it is on a logical volume.
  333.   A physical or logical volume can be larger than 8G, but not usefully
  334.   so: mkfs still can't make a filesystem larger than 8G on it.
  335.  
  336.   A file on SGI's new XFS filesystem can be 9 exabytes (9 gigagigabytes)
  337.   in size, and the filesystem itself can be 18 million terabytes in
  338.   size. See the misc FAQ under "WWW pages" for a pointer to a
  339.   demonstration.
  340.  
  341. ------------------------------
  342.  
  343. Subject:    -7- Why is /debug or /proc full of huge files?
  344. Date: 10 Dec 93 00:00:01 EST
  345.  
  346.   Those aren't disk files, they're interfaces to running processes.
  347.   Read the debug(4) (IRIX 4.0.x) and/or proc(4) (IRIX 5.x) manpages.
  348.  
  349. ------------------------------
  350.  
  351. Subject:    -8- How do I extend an existing filesystem onto a new disk?
  352. Date: 24 Jan 94 00:00:01 EST
  353.  
  354.   Back up the existing filesystem (just in case) then run 'mklv' and
  355.   'growfs'. 'mklv' and 'growfs' are nondestructive, so you don't need
  356.   to restore the backup unless you screw up. Don't use 'mkfs', which
  357.   does destroy existing data.
  358.  
  359. ------------------------------
  360.  
  361. Subject:    -9- How do I know if I need more memory and/or swap space?
  362. Date: 20 Feb 94 00:00:01 EST
  363.  
  364.   If processes are killed due to lack of memory/swap, you need more
  365.   memory and/or swap space. If your CPU is always waiting for swapping
  366.   (run 'osview' and look at the "%Swap" entry under "Wait Ratio") you
  367.   need more memory.
  368.  
  369. ------------------------------
  370.  
  371. Subject:   -10- How much swap space should I have per megabyte of
  372.                 memory?
  373. Date: 20 Feb 94 00:00:01 EST
  374.  
  375.   An oft-recommended ratio is X memory:2.5 X swap, but this may be too
  376.   slow. Decide how much of your favorite program (plus IRIX) needs to
  377.   be resident for good performance and how much doesn't, and make sure
  378.   you have enough memory for the former and enough memory plus swap for
  379.   the latter. Put "rmem" and "swp" in your ~/.grosview file, run
  380.   'gr_osview' and run your favorite program to see what it needs.
  381.  
  382. ------------------------------
  383.  
  384. Subject:   -11- How can I increase my swap space?
  385. Date: 26 Jul 94 00:00:01 EST
  386.  
  387.   The Jan/Feb 93 and May/Jun 94 Pipelines have detailed writeups on how
  388.   to do this in IRIX 4.0.x and 5.x respectively. The Jul/Aug Pipeline
  389.   has a correction to the latter article. If you like you can call the
  390.   TAC and have them fax you the very latest version.
  391.  
  392. ------------------------------
  393.  
  394. Subject:   -12- What are virtual and logical swap space? How do they
  395.                 work in IRIX 3.x, 4.0.x and 5.x?
  396. Date: 05 Jul 94 00:00:01 EST
  397.  
  398.   Two terms whose meanings should already be clear: Physical swap space
  399.   is an area on disk, either a partition or (in IRIX 5.x) a swap file.
  400.   Virtual memory is the sum of physical memory and swap space.
  401.  
  402.   IRIX 3.x accepts a memory request only if enough virtual memory is
  403.   free. Even if a process isn't using most of the memory it requested
  404.   (which happens often, e.g. when a large process forks and execs a
  405.   small process, or with Fortran 77 programs which allocate all storage
  406.   statically), its memory is unavailable to other processes until it
  407.   exits. IRIX 3.x has no virtual or logical swap space.
  408.  
  409.   In IRIX 4.0.x, IRIX accepts every memory request, and does not
  410.   allocate virtual memory until a process actually tries to use it.
  411.   This allows programs which request more memory than they use to run
  412.   with much less memory than would otherwise be required. If too many
  413.   processes actually use their memory requests so that virtual memory
  414.   is in danger of filling up, IRIX kills one or more processes. IRIX
  415.   usually kills the process which is using the most virtual memory,
  416.   which may well not be the process which most recently requested
  417.   virtual memory.
  418.  
  419.   IRIX 5.x works like IRIX 4.0.x, but one can set the amount of virtual
  420.   memory which IRIX is allowed to overallocate. This amount is called
  421.   "virtual swap space". "Logical swap space" is the sum of physical and
  422.   virtual swap. There is no virtual swap space by default, so IRIX 5.x
  423.   behaves like IRIX 3.x. One can set virtual swap to any amount of
  424.   memory; if it is set sufficiently high, memory requests will always
  425.   be granted, just like IRIX 4.0.x. Using jargon retroactively, IRIX
  426.   4.0.x has an infinite amount of virtual swap space.
  427.  
  428.   Large or infinite amounts of virtual swap space work well for many
  429.   people, because most programs don't use all the virtual memory they
  430.   request, at least not at once. If your programs do use all their
  431.   virtual memory, they'll be killed and you'll see "Process killed due
  432.   to insufficient memory/swap" messages in your SYSLOG.
  433.  
  434.   Under IRIX 4.0.x, you can only turn virtual swap off completely. Set
  435.   the kernel variable availsmem_accounting to 1: edit
  436.   /usr/sysgen/master.d/kernel, do 'autoconfig -f' and reboot. Doing so
  437.   makes IRIX 4.0.x behave like IRIX 3.x, allocating memory only if it
  438.   is actually available.
  439.  
  440.   Under IRIX 5.x, you can turn virtual swap on or off by doing
  441.   'chkconfig vswap off' or 'chkconfig vswap on', or change the size of
  442.   virtual swap by editing /etc/config/vswap.options, and rebooting. You
  443.   can also use 'swap -v' to do any of these things directly and without
  444.   rebooting.
  445.  
  446.   Remember that IRIX 5.x comes with virtual swap turned off and set to
  447.   zero.  If you were happy with IRIX 4.0.x, you should turn virtual
  448.   swap on and set its size to a very large number. If programs are
  449.   killed, decrease the size of virtual swap or turn it off.
  450.  
  451.   See the swap(1M) and swapctl(2) manpages for details.
  452.  
  453. ------------------------------
  454.  
  455. Subject:   -13- BOOTING
  456. Date: 15 May 94 00:00:01 EST
  457.  
  458.   As the song says, "There must be fifty ways to boot your Iris."
  459.  
  460. ------------------------------
  461.  
  462. Subject:   -14- How can I boot directly into single-user mode?
  463. Date: 20 Feb 94 00:00:01 EST
  464.  
  465.   Use the PROM monitor's 'single' command.
  466.  
  467.   For machines earlier than 4D35s, whose PROMs don't have that command,
  468.   say 'boot dksc(0,1,0)unix initstate=s'. Replace 'dksc(0,1,0)' with
  469.   the appropriate device and partition if your boot volume is something
  470.   other than a SCSI device partitioned in the standard manner; see the
  471.   chapter on the PROM monitor in the "Advanced Site and Server
  472.   Administration Guide".
  473.  
  474. ------------------------------
  475.  
  476. Subject:   -15- How can I boot from a non-default disk?
  477. Date: 20 Jan 94 00:00:01 CST
  478.  
  479.   Says Justin Mason <jmason@iona.ie>: If your disk is SCSI ID 4, do
  480.  
  481.     boot -f dksc(0,4,8)sash dksc(0,4,0)unix root=dks0d4s0
  482.  
  483.   or
  484.  
  485.     setenv bootfile dksc(0,4,8)sash
  486.     setenv path dksc(0,4,8)
  487.     setenv root dks0d4s0        # This is the tricky part 
  488.     auto
  489.  
  490.   from the PROM. The first method works once, so that subsequent
  491.   reboots use SCSI ID 1, and the second method sets the PROM to boot
  492.   from ID 4 every time (until you reset the PROM variables).
  493.  
  494. ------------------------------
  495.  
  496. Subject:   -16- How can I boot my machine using a server on the other
  497.                 side of a router?
  498. Date: 24 Jan 94 00:00:01 EST
  499.  
  500.   Tell the router to forward BOOTP packets. If it can't, NFS-mount the
  501.   remote volumes on another machine on the same subnet and use the
  502.   nearby machine for your boot server.
  503.  
  504. ------------------------------
  505.  
  506. Subject:   -17- How do I make a bootable tape from an IRIX CD?
  507. Date: 22 Nov 94 00:00:01 EST
  508.  
  509.   See the Sep/Oct 93 Pipeline and/or
  510.   viz.tamu.edu:/pub/sgi/software/distcp/making-bootable-tape for a
  511.   detailed description, or just follow Dave Olson <olson@sgi.com>'s
  512.   summary: Take a look at the distcp(1M) manpage, and do something like
  513.  
  514.       tapehost# mount -o ro cdhost:/CDROM /mnt
  515.       tapehost# distcp /mnt/dist /dev/nrtape
  516.  
  517.   Note that 'fx', 'ide', and 'sash' for all machines are in the dist/sa
  518.   file.  'sa' is an image of the first part of the tape; use 'mkbootape
  519.   -f sa -l' to see the contents.
  520.  
  521. ------------------------------
  522.  
  523. Subject:   -18- Why can't I boot one of the stand-alone programs on a
  524.                 tape or CD?
  525. Date: 03 Apr 94 00:00:01 EST
  526.  
  527.   One reason is that some CPU names are preceded by periods and some
  528.   aren't. Another is that the Indigo R4000 and later CPUs use the
  529.   suffix 'ARCS', not 'IP20' or whatever as one might expect from
  530.   'hinv'. For example, the correct command to boot fx directly from the
  531.   PROM monitor on an Indigo R4000 is 'boot -f dksc(ctlr,unit,8)sashARCS
  532.   dksc(ctlr,unit,7)stand/fx.ARCS'. Note the use of 'ARCS' instead of
  533.   'IP20' and the missing period in 'sashARCS'.
  534.  
  535. ------------------------------
  536.  
  537. Subject:   -19- INSTALLING
  538. Date: 15 May 94 00:00:01 EST
  539.  
  540.   These questions discuss software installation.
  541.  
  542. ------------------------------
  543.  
  544. Subject:   -20- Is it possible to remotely install IRIX over a network?
  545. Date: 20 May 93 00:00:01 CST
  546.  
  547.   Yes. You can install IRIX from a remote machine which has a CD-ROM, a
  548.   tape drive, or an IRIX distribution directory.  All of these
  549.   scenarios (and several others) are described in detail in the "IRIS
  550.   Software Installation Guide".  Examples are provided.
  551.  
  552. ------------------------------
  553.  
  554. Subject:   -21- Which IRIX CD is the program 'foo' on?
  555. Date: 25 May 94 00:00:01 EST
  556.  
  557.   Mount the CD and try 'grep foo /CDROM/dist/*.idb'. If you don't get
  558.   any output, 'foo' isn't on that CD. If you do, it is, and one of the
  559.   fields is the subsystem in which 'foo' lives. Entries in *.idb files
  560.   don't have a leading slash so you must leave it out if you grep for a
  561.   full path, e.g. 'grep usr/bin/lp /CDROM/dist/*.idb', not 'grep
  562.   /usr/bin/lp /CDROM/dist/*.idb'.
  563.  
  564. ------------------------------
  565.  
  566. Subject:   -22- How can I extract a single file from an 'inst'
  567.                 subsystem?
  568. Date: 05 Feb 95 00:00:01 EST
  569.  
  570.   Under IRIX 5.2 and earlier, you need to be clever. 'inst' guru Paul
  571.   Jackson <pj@sgi.com> reveals all:
  572.  
  573.   - Find the subsystem in which the file lives, as described in the
  574.     previous question. For this example we'll extract /sbin/ed, which
  575.     lives in eoe1.sw.unix.
  576.  
  577.   - Follow the bouncing prompt:
  578.  
  579.     > su
  580.     > cd /usr/tmp
  581.     > mkdir -p tmproot/var/inst
  582.     > inst -f /CDROM/dist/eoe1 -r /usr/tmp/tmproot
  583.     > Inst> keep *
  584.     > Inst> install eoe1.sw.unix
  585.     > Inst> go
  586.     > Inst> q
  587.     > ls -l /usr/tmp/tmproot/sbin/ed
  588.     -rwxr-xr-x    1 root     sys        75480 May 24 13:57 /usr/tmp/tmproot/sbin/ed
  589.  
  590.   - Move your file somwhere else and 'rm -r /usr/tmp/tmproot'.
  591.  
  592.   - That was under IRIX 5.x. Under IRIX 4.0.x or earlier, use
  593.     '/usr/tmp/tmproot/usr/lib/inst' for a temporary inst directory
  594.     instead of '/usr/tmp/tmproot/var/inst'.
  595.  
  596.   In IRIX 5.3, inst's '-Y' flag allows you to install a single file. See
  597.   inst(1M) for more.
  598.  
  599. ------------------------------
  600.  
  601. Subject:   -23- Why doesn't 'inst' work?
  602. Date: 16 Jan 94 00:00:01 EST
  603.  
  604.   One possibility is that you're using an old 'inst' with new
  605.   software.  Always use an 'inst' at least as new as what you're
  606.   installing.
  607.  
  608. ------------------------------
  609.  
  610. Subject:   -24- Why doesn't 'inst' work remotely?
  611. Date: 05 May 94 00:00:01 EST
  612.  
  613.   Usually because it can't log in to the machine with the distribution
  614.   media.  'inst' uses the guest account to do so, so make sure that
  615.   guest on the machine on which you want to install software can rlogin
  616.   to guest on the machine with the distribution media without a
  617.   password.
  618.  
  619. ------------------------------
  620.  
  621. Subject:   -25- I just installed a new version of IRIX and file X is
  622.                 missing. What should I do?
  623. Date: 03 Feb 95 00:00:01 EST
  624.  
  625.   'inst' doesn't deal well with some cases where a file moves from one
  626.   subsystem to another between IRIX versions. Upgrading may cause such a
  627.   file to disappear entirely. To bring it back, remove and reinstall the
  628.   subsystem to which the file belongs in the newer IRIX.
  629.  
  630.   Popular examples of this include several headers in /usr/include/sys
  631.   in IRIX 4.0.5/IDO 4.1.1, which are in eoe1.sw.unix, and the 'mount'
  632.   manpage in IRIX 5.3, which is in eoe1.man.unix.
  633.  
  634.   One way to detect files which have disappeared in this manner in IRIX
  635.   5.3 is 'showfiles -B'.
  636.  
  637. ------------------------------
  638.  
  639. Subject:   -26- I reinstalled an IRIX subsystem to restore a missing
  640.                 file or get rid of a corrupted file, but it didn't help.
  641.                 Why not?
  642. Date: 13 Apr 94 00:00:01 EST
  643.  
  644.   'inst' doesn't bother to install a subsystem if the same or a newer
  645.   version is already installed. Tell it to install anyway by saying
  646.   'set neweroverride' before you say 'go'. Removing the subsystem and
  647.   reinstalling it will do more or less the same thing.
  648.  
  649. ------------------------------
  650.  
  651. Subject:   -27- How can I install IRIX onto a second disk which I can
  652.                 then move to another machine?
  653. Date: 20 Jan 94 00:00:01 EST
  654.  
  655.   With difficulty. Many parts of the installation process assume that
  656.   you're installing IRIX onto your system disk (SCSI ID 1). Just fiddle
  657.   with SCSI ID switches and/or move disks around to make the disk onto
  658.   which you want to install IRIX the system disk for the duration of
  659.   the installation.
  660.  
  661.   Furthermore, IRIX has many hardware dependencies, so you should only
  662.   move system disks between absolutely identical machines. If you want
  663.   to make a system disk for a machine without a network connection,
  664.   CD-ROM or tape drive, the easiest and safest way is to borrow another
  665.   CD-ROM or tape drive.
  666.  
  667.   If you want to try anyway, Justin Mason <jmason@iona.ie> reports that
  668.   the following works under IRIX 5.1.1:
  669.  
  670.   Set up the disk, e.g. with SCSI id 4, fx a generic "[bo]otable"
  671.   partition setup onto it, and mkfs the partitions. Copy sash, etc.
  672.   from your system disk to the new disk with dvhtool. Boot up the
  673.   miniroot as usual, go into inst, choose "admin" from the menu and do
  674.   the following, replacing SCSI IDs and partition numbers as
  675.   appropriate:
  676.  
  677.     umount /root
  678.     umount /root/usr
  679.     mount /dev/dsk/dks0d4s0 /root
  680.     mount /dev/dsk/dks0d4s6 /root/usr
  681.     mount                # Just to check
  682.     return                # Go back to main inst menu
  683.  
  684.   Then install as you like.
  685.  
  686. ------------------------------
  687.  
  688. Subject:   -28- How can I copy my system disk onto a second disk which I
  689.                 can then move to another machine?
  690. Date: 11 Feb 95 00:00:01 EST
  691.  
  692.   See the article in the Jul/Aug 92 Pipeline and the addendum in the
  693.   Nov/Dec 92 Pipeline, and note that the warning about hardware
  694.   dependencies in the previous question applies here too.  Steve
  695.   Kotsopoulos <steve@ecf.toronto.edu> has written a script which does
  696.   this automatically; you can FTP it from
  697.   viz.tamu.edu:/pub/sgi/software/clonedisk/clonedisk. Be sure to read
  698.   the comments before running it!
  699.  
  700.   If your machine has FlashPROMs, which are normally updated by 'inst',
  701.   you'll need to update them yourself; see flashio(1M) and heed its
  702.   warnings.
  703.  
  704. ------------------------------
  705.  
  706. Subject:   -29- NETWORKING
  707. Date: 15 May 94 00:00:01 EST
  708.  
  709.   These questions discuss general networking.
  710.  
  711. ------------------------------
  712.  
  713. Subject:   -30- Why isn't my network working?
  714. Date: 08 Oct 94 94 00:00:01 EST
  715.  
  716.   A list of good things to try is at
  717.   viz.tamu.edu:/pub/sgi/lists/network-checklist.
  718.  
  719. ------------------------------
  720.  
  721. Subject:   -31- How can I measure my network's reliability?
  722. Date: 16 Oct 94 00:00:01 EST
  723.  
  724.   Don't worry about collisions. They are part of normal operation on a
  725.   crowded Ethernet. You *should* worry about late collisions (which are
  726.   logged to the console) and lost packets (which you can easily measure
  727.   with the command 'ping -fs 3000 -c 1000 someotherhost'), which
  728.   usually mean network hardware problems or a misconfigured bridge or
  729.   router.
  730.  
  731.   See Chapter 18 of the "IRIX Advanced Site and Server Administration
  732.   Guide" and the Sep/Oct 93 Pipeline for more.
  733.  
  734. ------------------------------
  735.  
  736. Subject:   -32- How do I add a static route?
  737. Date: 13 Nov 94 00:00:01 EST
  738.  
  739.   Some sites handle IP routing by designating a routing machine and
  740.   having all other hosts define a static route to that machine. The way
  741.   to do this on SGIs is in the /etc/init.d/network.local script.
  742.  
  743.   1) Read the paragraph just before the copyright at the top of
  744.      /etc/init.d/network and make the links it specifies.
  745.  
  746.   2) Put something like the following in /etc/init.d/network.local,
  747.      replacing ROUTER'S.IP.ADDRESS.HERE with the address of your
  748.      router.
  749.  
  750.      #! /bin/sh
  751.      IS_ON=/sbin/chkconfig
  752.      case "$1" in
  753.      'start')
  754.          if $IS_ON network; then    # network must be chkconfig'ed on
  755.              /usr/etc/route add default 130.132.25.1 1
  756.          fi
  757.          ;;
  758.      'stop')
  759.          /usr/etc/route delete default 130.132.25.1 ;;
  760.      *)
  761.          echo "Usage: $0 {start|stop}" ;;
  762.      esac
  763.  
  764.   Check the script with 'sh -v /etc/init.d/network.local'.
  765.  
  766.   If you NFS-mount disks from the other side of the static route, they
  767.   will not be unmounted properly during shutdown. You can fix this by
  768.   making the links so that /etc/init.d/network.local runs before
  769.   /etc/init.d/network: 'ln -s /etc/init.d/network.local
  770.   /etc/rc0.d/K41network' instead of '/etc/rc0.d/K39network'.
  771.  
  772. ------------------------------
  773.  
  774. Subject:   -33- How can I make the 'slip' command advertise the Ethernet
  775.                 address of the SLIP client?
  776. Date: 10 Dec 93 00:00:01 EST
  777.  
  778.   You can't. Just add something like
  779.  
  780.     /usr/etc/arp -s $USER `netstat -ia | grep :` pub
  781.  
  782.   to the shell script in which you start the SLIP process. $USER is the
  783.   SLIP client. The 'netstat | grep' part gets the host's Ethernet
  784.   address, and 'arp' advertises the host as an ARP server for $USER.
  785.   See also the arp(1M) manpage.
  786.  
  787. ------------------------------
  788.  
  789. Subject:   -34- I've just edited inetd.conf, and nothing changed. Why?
  790. Date: 15 Feb 95 00:00:01 EST
  791.  
  792.   You need to make 'inetd' reread inetd.conf. Do 'killall -HUP inetd'.
  793.   If that doesn't work, comment out the entry you modified, 'killall
  794.   -HUP inetd', uncomment the entry and 'killall -HUP inetd' again.  If
  795.   that doesn't work, 'killall -TERM inetd'. If that doesn't work,
  796.   reboot.
  797.  
  798. ------------------------------
  799.  
  800. Subject:   -35- Why can't I 'rdist' files between Suns and SGIs?
  801. Date: 30 Jan 95 00:00:01 EST
  802.  
  803.   Sun's 'rdist' expects SGI's 'rdist' to live in /usr/ucb, but it's
  804.   actually in /usr/bsd. Make a symbolic link from /usr/ucb/rdist to
  805.   /usr/bsd/rdist and all will be well.
  806.  
  807.   In IRIX 5.3 or later, you may need to use ordist(1).
  808.  
  809. ------------------------------
  810.  
  811. Subject: ! -36- Why isn't the objectserver working?
  812. Date: 22 Feb 95 00:00:01 EST
  813.  
  814.   Anne Eagle <annee@sgi.com> posted most of the following:
  815.  
  816.   - Its database may be corrupt. If the objectserver appears to start
  817.     OK but crashes later, this is probably the case. Rebuild it like
  818.     so:
  819.  
  820.       /etc/init.d/cadmin stop
  821.       /etc/init.d/cadmin clean
  822.       /etc/init.d/cadmin start
  823.  
  824.     If the preceding doesn't work, try this
  825.  
  826.       /etc/init.d/cadmin stop
  827.       mv /var/Cadmin/data /var/Cadmin/data.old
  828.       /usr/Cadmin/bin/parseclasses
  829.       /etc/init.d/cadmin start
  830.  
  831.     Note that either method destroys "Privileged User" and "Business Card"
  832.     information.
  833.  
  834.   - One of your system configuration files (including but not limited
  835.     to /etc/exports, /etc/fstab, /etc/inittab, /etc/mtab, /etc/passwd)
  836.     may have minor format problems which don't bother IRIX proper but
  837.     do bother the objectserver. Such problems include a last line which
  838.     doesn't end with a linefeed, a backspace not preceded by a space in
  839.     /etc/exports, or unprintable characters. One sign that you have
  840.     such a problem is a core file in /var/Cadmin/data. If you find and
  841.     fix a problem, rebuild the databases as above.
  842.  
  843.     If you can't find the problem, try the following:
  844.  
  845.       par -s -i -N open -l -SS /usr/Cadmin/bin/objectserver -d
  846.  
  847.     The last file objectserver opens is probably where the problem is.
  848.     If you're really desperate, the TAC will give you an objectserver
  849.     compiled with -g and help you run dbx on it.
  850.  
  851.   - You may be swamping the objectserver with NIS (YP) users. There are
  852.     several ways around this:
  853.  
  854.     - Start a directoryserver on a machine on your local network.
  855.  
  856.     - Use netgroups or the "+user" form in /etc/passwd instead of just
  857.       a "+" and rebuild the databases as above.
  858.  
  859.     - Most severely, remove the NIS object definition files so that the
  860.       objectserver will not create NIS objects, rebuild the
  861.       objectserver database (without the NIS objects) and restart the
  862.       objectserver as follows. You will not be able to manipulate NIS
  863.       users with Cadmin if you do this.
  864.  
  865.       killall fm
  866.       mediad -k
  867.       killall objectserver
  868.       mv /var/Cadmin/data /var/Cadmin/data.orig
  869.       cp -pr /usr/Cadmin/classes /usr/Cadmin/classes.orig
  870.       rm /usr/Cadmin/classes/groupObject.op
  871.       rm /usr/Cadmin/classes/nisAccountObject.op
  872.       rm /usr/Cadmin/classes/peopleNISObject.op
  873.       rm /usr/Cadmin/classes/peopleObject.op
  874.       /usr/Cadmin/bin/parseclasses
  875.       /usr/Cadmin/bin/objectserver
  876.       ps -ef | grep obj
  877.       
  878.       Wait until you see 2 objectserver processes running, then do
  879.  
  880.       mediad
  881.       fm -lrb &
  882.  
  883.   - Chris Riney <chris.riney@tandy.com> says: "We have just discovered
  884.     here at our site that if you do not have a route defined for the
  885.     SGI multicast subnet, then objectserver will gobble up memory.  I
  886.     established a route for 224.0.0.0, and objectserver has been up for
  887.     over a week without consuming additional memory." This route is
  888.     defined in the stock /etc/init.d/network.
  889.  
  890.   - Andreas Klingler <andreas.klingler@rrze.uni-erlangen.de> fixed his
  891.     objectserver by removing /usr/Cadmin/classes/printerObject.op and
  892.     then rebuilding /var/Cadmin/data as above.
  893.  
  894. ! - David Carrigan <vermeer@panix.com> fixed his objectserver by editing
  895. !   his /etc/passwd file so userids were in ascending order.
  896.  
  897.   See also "Indigo Magic Tips and Tricks" in the Sep/Oct 94 Pipeline.
  898.  
  899. ------------------------------
  900.  
  901. Subject:   -37- What is sending packets to the sgi-dog.mcast.net
  902.                 multicast address?
  903. Date: 15 Jun 94 00:00:01 EST
  904.  
  905.   The objectserver.
  906.  
  907. ------------------------------
  908.  
  909. Subject:   -38- Why are the objectserver and directoryserver taking up
  910.                 so much memory in IRIX 5.3?
  911. Date: 21 Dec 94 00:00:01 EST
  912.  
  913.   They really aren't. Doing 'ps -ef' in IRIX 5.3 and looking at the SZ
  914.   column shows that these programs have extremely large address spaces,
  915.   about 128M each. That's not the same thing as the physical memory they
  916.   occupy, which is shown in the RSS column and which should be much
  917.   smaller. See ps(1) and the IRIX 5.3 Cadmin release notes for more.
  918.  
  919. ------------------------------
  920.  
  921. Subject:   -39- Why doesn't my desktop deal properly with the CD or tape
  922.                 icons?
  923. Date: 18 Jan 95 00:00:01 EST
  924.  
  925.   Thanks to Anne Eagle <annee@milamber.csd.sgi.com> for the following:
  926.  
  927.   This is a known bug both in 5.2 and 5.3.  Essentially, the desktop
  928.   icons stop responding to insertion/removal of mediad, although the
  929.   media itself is mounted properly and is accessible either from the
  930.   command line or by opening your home directory and then changing to
  931.   /CDROM or /floppy or starting cdman by hand or whatever is
  932.   appropriate for the media.  Double clicking on the icon for the
  933.   peripheral results in a dialog saying that the drive is unloaded,
  934.   which of course it is not.
  935.  
  936.   Here are a number of workarounds. If the first doesn't work, try the
  937.   second, and so on.  Below, if the command begins with the "%" symbol,
  938.   that command can be executed by any user.  Commands beginning with
  939.   "#" must be executed by root.
  940.  
  941.   * Restart the File Manager:
  942.  
  943.     % /usr/lib/desktop/telldesktop quit
  944.     % fm -lrb
  945.  
  946.   * Restart both the File Manager and mediad:
  947.  
  948.     % /usr/lib/desktop/telldesktop quit
  949.         % su -
  950.         # /etc/init.d/mediad stop
  951.         # /etc/init.d/mediad start
  952.         # exit
  953.         % fm -lrb
  954.  
  955.   * Restart the File Manager, mediad and the objectserver:
  956.  
  957.     % /usr/lib/desktop/telldesktop quit
  958.         % su -
  959.         # /etc/init.d/mediad stop
  960.         # /etc/init.d/cadmin stop
  961.         # /etc/init.d/cadmin start
  962.         # /etc/init.d/mediad start
  963.         # exit
  964.         % fm -lrb
  965.  
  966.   * See if the icons from the Shared Resources in the upper right hand
  967.     corner of the System Manager are responsive to insertion/removal of
  968.     media.  If so, access the icons from the System Manager.
  969.  
  970.   * Reboot the system:
  971.  
  972.     # reboot
  973.  
  974.   * The media will have to be accessed by hand.  Open a directory
  975.     view either by double-clicking on the home directory icon or
  976.     choosing "Desktop/Home Directory" from the Toolchest.  Then change
  977.     to the appropriate directory for the device.  For instance, the
  978.     floppy or floptical drives are access by default from /floppy and
  979.     the CDROM from /CDROM.
  980.  
  981.     Find the "cdman" icon via "Find/An Icon" and then double click on
  982.     it to listen to music CD's over the scsi audio port.
  983.  
  984.   See also the Sep/Oct 1994 Pipeline.
  985.  
  986.   Alternatively, mediad may never have started; see the next question.
  987.  
  988. ------------------------------
  989.  
  990. Subject:   -40- Why doesn't my mediad start up under IRIX 5.3?
  991. Date: 04 Feb 95 00:00:01 EST
  992.  
  993.   Says Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>:
  994.   If your mediad is dying with the message "mediad: Initialization of my
  995.   address failed.  Cannot contact objectserver." to the syslog, your
  996.   machine may not be able to get its IP address.  Try adding the line
  997.  
  998.       hostresorder local bind
  999.  
  1000.   or (if you use NIS)
  1001.  
  1002.       hostresorder local nis bind
  1003.  
  1004.   to your /etc/resolv.conf file.  Make sure the local machine's hostname
  1005.   and IP address are in the local /etc/hosts file, and then either
  1006.   restart the objectserver, mediad, and desktop or reboot.
  1007.  
  1008.   This problem manifests itself when the objectserver cannot grab the
  1009.   local machine's IP address from DNS (aka bind).  When the resolver is
  1010.   told to look at the /etc/hosts file first, it should find the local
  1011.   machine's address without asking DNS about it.
  1012.  
  1013.   Thanks to Dave Olson and Alexis Cousein (both of SGI) for tracking
  1014.   this down.
  1015.  
  1016. ------------------------------
  1017.  
  1018. Subject:   -41- Why are there "satwrite failure: inetd" messages in my
  1019.                 SYSLOG in IRIX 5.3?
  1020. Date: 30 Jan 95 00:00:01 EST
  1021.  
  1022.   Says Ellen Desmond <desmond@orange.engr.sgi.com>:
  1023.   This is due to a bug in inetd that is manifest only when eoe2.sw.audit
  1024.   has been installed.  Inetd calls satwrite() to generate an audit
  1025.   record every time it spawns a server.  The bug is that the call to
  1026.   satwrite() is made after the process has done a setuid() to the user
  1027.   specified for that server in inetd.conf.  Because satwrite() is a
  1028.   superuser-only call, it fails for servers that don't run as root, such
  1029.   as fingerd.
  1030.  
  1031.   If you are using auditing, and you've selected record type
  1032.   sat_ae_audit, you're supposed to see a record with the message "Remote
  1033.   service granted" every time inetd forks a daemon.  Because of the bug,
  1034.   you won't see it for fingerd and other non-root servers.
  1035.  
  1036.   If you don't use auditing, and you want to get rid of the messages,
  1037.   use versions -r to remove that subsystem, and autoconfig a new kernel.
  1038.   Otherwise, it's safe to ignore the messages.
  1039.  
  1040. ------------------------------
  1041.  
  1042. Subject:   -42- MAIL
  1043. Date: 15 May 94 00:00:01 EST
  1044.  
  1045.   These questions discuss mail configuration and problems.
  1046.  
  1047. ------------------------------
  1048.  
  1049. Subject:   -43- How can I set up 'sendmail' to pass (or not pass) 8-bit
  1050.                 characters?
  1051. Date: 30 Jan 95 00:00:01 EST
  1052.  
  1053.   Many experts say "don't try". RFC822 requires mail transport agents to
  1054.   *clear* the eighth bit, and many hosts do.  Some which don't may crash
  1055.   when they get mail with the eighth bit set. Instead, use a
  1056.   MIME-compatible mail program. MIME, described in RFC1521, is a
  1057.   standard for enclosing non-RFC822 material in your mail. The apps FAQ
  1058.   discusses several mail programs which support it.
  1059.  
  1060.   In IRIXes up to 5.2, one can flout this doctrine by running sendmail
  1061.   with the '-o8' flag to allow 8-bit characters in message bodies (*not*
  1062.   headers). Read the description of that option in sendmail(1) for more
  1063.   reasons not to use it. In IRIX 5.3, sendmail runs in 8-bit mode by
  1064.   default, but one can use the '-o7' flag to get the old behavior.
  1065.  
  1066. ------------------------------
  1067.  
  1068. Subject:   -44- Why are my mailbox files changing ownership?
  1069. Date: 30 Jan 95 00:00:01 EST
  1070.  
  1071.   If your mail directory is mounted from another machine, your machine
  1072.   does not have root access, and the other machine has BSD-style
  1073.   "restricted chown" (either because it's not an SGI or because someone
  1074.   turned restricted chown on), /bin/mail will change mail file ownership
  1075.   when delivering local mail. Without unrestricted chown or root access,
  1076.   /bin/mail is unable to give mail files back to their owners after
  1077.   delivering mail. You can fix the problem by turning off restricted
  1078.   chown on the other machine (if it's an SGI) or exporting the mail
  1079.   directory with root access for your machine. This problem was to have
  1080.   been fixed in IRIX 5.2, but apparently is still present in 5.3.
  1081.  
  1082. ------------------------------
  1083.  
  1084. Subject:   -45- Why isn't a valid user getting their mail?
  1085. Date: 24 Jan 94 00:00:01 EST
  1086.  
  1087.   IRIX' mail system requires "valid users" to have both valid password
  1088.   file entries (whether local or via NIS) and home directories. The
  1089.   latter often trips one up when installing POP servers and whatnot,
  1090.   where home directories aren't really necessary. Just make a fake
  1091.   one.
  1092.  
  1093. ------------------------------
  1094.  
  1095. Subject:   -46- How can SGIs and Suns share a mail spool?
  1096. Date: 05 Feb 94 00:00:01 EST
  1097.  
  1098.   Paul Riddle <paulr@umbc.edu> has written up how he did it. Read
  1099.   ftp.umbc.edu:/pub/sgi/shared-spool.text.
  1100.  
  1101. ------------------------------
  1102.  
  1103. Subject:   -47- What's an "unknown mailer error"?
  1104. Date: 20 Feb 94 00:00:01 EST
  1105.  
  1106.   There's a list in viz.tamu.edu:/pub/sgi/software/mail/mail-errors.
  1107.  
  1108. ------------------------------
  1109.  
  1110. Subject:   -48- What's "mailbox: Error 0"?
  1111. Date: 05 Mar 94 00:00:01 EST
  1112.  
  1113.   It's a harmless bug; don't worry about it. It is fixed in IRIX
  1114.   versions 4.0.5H/4.0.5IOP and later.
  1115.  
  1116. ------------------------------
  1117.  
  1118. Subject:   -49- Why can't I receive mail on an NFS-mounted mail spool
  1119.                 under IRIX 5.2?
  1120. Date: 29 Aug 94 00:00:01 EST
  1121.  
  1122.   IRIX 5.2 NFS has a bug which prevents writing to a zero-length file if
  1123.   the writing process has group write permission but not group read (or
  1124.   user write) permission. IRIX 5.2 /bin/mail likes to set the
  1125.   permissions of /var/mail/<user> to mode 620, exactly what is needed to
  1126.   exercise the NFS bug. There is no patch for these bugs, but both are
  1127.   fixed in IRIX 5.3. Meanwhile, you can work around the problem by
  1128.   chmod'ing your mail files to 660 and setting the appropriate option in
  1129.   your mail program to make sure that empty mail files are not removed.
  1130.  
  1131. ------------------------------
  1132.  
  1133. Subject:   -50- Why do mail programs have trouble with NFS-mounted
  1134.                 mailboxes in IRIX 5.3?
  1135. Date: 18 Feb 95 00:00:01 EST
  1136.  
  1137.   It's a bug, fixed by patch 216. If the client and server are both IRIX
  1138.   5.3, you can also work around the problem by changing the mount type
  1139.   to NFS3. (See notes on NFS3 elsewhere in this FAQ.) Typical symptoms
  1140.   include "Warning: could not lock /var/mail/user after 100 trys." (from
  1141.   /usr/sbin/Mail) and the presence of user.lock and user.rolock files
  1142.   in /var/mail.
  1143.  
  1144. ------------------------------
  1145.  
  1146. Subject:   -51- NFS
  1147. Date: 15 May 94 00:00:01 EST
  1148.  
  1149.   These questions discuss NFS.
  1150.  
  1151. ------------------------------
  1152.  
  1153. Subject:   -52- How can I tell what hostname to use in /etc/exports?
  1154. Date: 07 Feb 94 00:00:01 EST
  1155.  
  1156.   NFS servers may need a particular form of a client's name in
  1157.   /etc/exports to allow the client access. This may not be obvious, for
  1158.   example if the server is also a router. Log in from the client to the
  1159.   server and say 'echo $REMOTEHOST' to see what the server thinks the
  1160.   client is called, and put that in /etc/exports.
  1161.  
  1162.   The System Manager ('chost') should be able to determine the correct
  1163.   hostname for you.
  1164.  
  1165. ------------------------------
  1166.  
  1167. Subject:   -53- Why can't I export an NFS-mounted filesystem?
  1168. Date: 10 Dec 93 00:00:01 CST
  1169.  
  1170.   This is known as multi-hop NFS. It is not allowed or supported in
  1171.   (Sun's) NFS because it is not in general possible to detect errors
  1172.   such as infinite mount loops, on either the client or the server.
  1173.  
  1174. ------------------------------
  1175.  
  1176. Subject:   -54- Why can't Ultrix automount SGI filesystems?
  1177. Date: 10 Dec 93 00:00:01 CST
  1178.  
  1179.   Ultrix's automount uses an "untrusted" port for mount requests. Add
  1180.   an '-n' to the mountd lines in /usr/etc/inetd.conf (/etc/inetd.conf
  1181.   in IRIX 5.x), like so:
  1182.  
  1183.   mountd/1    stream  rpc/tcp wait    root    /usr/etc/rpc.mountd     mountd -n
  1184.   mountd/1    dgram   rpc/udp wait    root    /usr/etc/rpc.mountd     mountd -n
  1185.  
  1186.   then 'killall mountd' and 'killall -HUP inetd' or reboot.
  1187.  
  1188. ------------------------------
  1189.  
  1190. Subject:   -55- Why does 'tar' work strangely on a filesystem mounted
  1191.                 from an SGI?
  1192. Date: 03 Apr 94 00:00:01 EST
  1193.  
  1194.   When user A extracts a file owned by user B from a tar archive, 'tar'
  1195.   makes the file owned by user A unless user A is the superuser.  Some
  1196.   systems allow users to give files away (e.g. IRIX); some do not
  1197.   (e.g.  SunOS).  On some systems with the restricted behavior (SunOS
  1198.   among them), 'tar' tries to give the file to user B whether or not
  1199.   user A is the superuser, assuming that the chown system call will
  1200.   fail if user A is not. This is not true if user A is using 'tar' on
  1201.   (e.g.) a Sun to extract files onto a filesystem NFS-mounted from
  1202.   (e.g.) an SGI. 'tar' may create zero-length files or give away
  1203.   directories and then be unable to extract files into them.
  1204.  
  1205.   Work around the problem by doing the 'tar' on the SGI or extracting
  1206.   onto a Sun filesystem. It is possible that third-party versions of
  1207.   'tar' (e.g. GNU tar) are smarter; let us know if so. Don't turn the
  1208.   restricted_chown kernel variable on on the SGI; while this will fix
  1209.   the problem at hand, it will break SGI programs which need to give
  1210.   files away without running as root (notably /bin/mail).
  1211.  
  1212. ------------------------------
  1213.  
  1214. Subject:   -56- Is 'pcnfsd' available for the SGI?
  1215. Date: 27 Feb 94 00:00:01 EST
  1216.  
  1217.   For IRIX 4.0.x, look in ftp.sgi.com:/support/pcnfsd.sysV/. (Note that
  1218.   although SGI makes this available, they do not support it.) For IRIX
  1219.   5.x, look in viz.tamu.edu:/pub/sgi/software/pcnfsd/.
  1220.  
  1221. ------------------------------
  1222.  
  1223. Subject:   -57- Can I export a CD-ROM from my SGI to a non-SGI?
  1224. Date: 10 Dec 93 00:00:01 EST
  1225.  
  1226.   Not in IRIX 4.0.x. You can in IRIX 5.x, as you would any other
  1227.   filesystem.
  1228.  
  1229. ------------------------------
  1230.  
  1231. Subject:   -58- Why can't I export an ISO 9660 CD-ROM using NFS?
  1232. Date: 13 Nov 94 00:00:01 EST
  1233.  
  1234.   You're using IRIX 4.0.x. Under IRIX 5.x, it just works.
  1235.  
  1236.   Under IRIX 4.0.x you can, but only to another SGI (see the previous
  1237.   question) and there's a catch. Add the CD-ROM filesystem to
  1238.   /etc/exports and export it with 'exportfs' *before* you mount the
  1239.   CD-ROM. For more detail, read
  1240.   viz.tamu.edu:/pub/sgi/hardware/exporting-iso-9660-cdrom or the
  1241.   article in the Jan/Feb 93 Pipeline, or for an up-to-date copy call
  1242.   the TAC and ask for SGI's writeup on "Mounting an ISO 9660 CD Across
  1243.   NFS".
  1244.  
  1245. ------------------------------
  1246.  
  1247. Subject:   -59- How can I read an IRIX (EFS) CD-ROM on a machine which
  1248.                 doesn't use EFS?
  1249. Date: 09 Jan 94 00:00:01 EST
  1250.  
  1251.   You want 'efslook', in viz.tamu.edu:/pub/sgi/software/efslook/.
  1252.  
  1253. ------------------------------
  1254.  
  1255. Subject:   -60- How can I get quotas to work on an NFS filesystem?
  1256. Date: 16 Dec 94 00:00:01 EST
  1257.  
  1258.   Mount the filesystem with the 'quotas' option, by adding it to
  1259.   /etc/fstab or the automounter map as appropriate, and make sure the
  1260.   nfs.sw.nis subsystem, which contains the NFS quota daemon
  1261.   (/usr/etc/rpc.rquotad) is installed. That's nfs.sw.nis, not
  1262.   nfs.sw.nfs! See fstab(4), rquotad(1M) and perhaps automount(1M) for
  1263.   details.
  1264.  
  1265. ------------------------------
  1266.  
  1267. Subject:   -61- Why can't some NFS clients NFS-mount IRIX 5.2
  1268.                 filesystems?
  1269. Date: 11 Feb 95 00:00:01 EST
  1270.  
  1271.   IN IRIX 5.2, SGI's mount daemons (/usr/etc/mount_*) can fool some NFS
  1272.   clients (TGV's Multinet NFS for VMS, for one) into thinking that the
  1273.   mount daemons are NFS servers and trying to connect to them as
  1274.   such. If the client can mount filesystems from your machine when no
  1275.   mount daemons are running, but not when they are, this is your
  1276.   problem. Fix it by upgrading to IRIX 5.3 or, if you're daring,
  1277.   stealing the mount daemons from an IRIX 5.3 machine.
  1278.  
  1279. ------------------------------
  1280.  
  1281. Subject: ! -62- What's NFS3?
  1282. Date: 26 Feb 95 00:00:01 EST
  1283.  
  1284.   An improved NFS which comes with IRIX 5.3. It is described in detail
  1285.   in gatekeeper.dec.com:/pub/standards/nfs/NFS3.spec.ps.Z. Its quirks
  1286.   are still being discovered by users; one prominent quirk is that it is
  1287.   not supported by the automounter. Another is that a bug causes
  1288.   ~/.Xauthority files on an NFS3 volume to be truncated; patch 216 fixes
  1289. ! the bug. Another is that it interacts poorly with XFS; a patch is
  1290. ! forthcoming.
  1291.  
  1292. ------------------------------
  1293.  
  1294. Subject:   -63- PRINTING
  1295. Date: 15 May 94 00:00:01 EST
  1296.  
  1297.   These questions discuss printing.
  1298.  
  1299. ------------------------------
  1300.  
  1301. Subject:   -64- Why can't 'lp' read my file?
  1302. Date: 10 Dec 93 00:00:01 EST
  1303.  
  1304.   'lp' is setuid, so it can only read world-readable files. You can say
  1305.   'lp < file' if you don't want to make your file world-readable.
  1306.  
  1307. ------------------------------
  1308.  
  1309. Subject:   -65- How can I use 'lpr' to print to my local printer?
  1310. Date: 10 Dec 93 00:00:01 EST
  1311.  
  1312.   SGI provides 'lpr' for printing on remote printers, and does not
  1313.   support it for local printing. One way to do it anyhow is to make an
  1314.   /etc/printcap entry with an output filter which is just a wrapper
  1315.   around 'lp'. If that isn't crystal-clear, call the TAC and ask for
  1316.   their "faxable" on "Integrating The AT&T Spooler With The BSD LPR
  1317.   Print Spooler". A not-guaranteed-to-be-up-to-date copy is at
  1318.   viz.tamu.edu:/pub/sgi/software/lp-lpr/lpr-to-lp.
  1319.  
  1320. ------------------------------
  1321.  
  1322. Subject:   -66- How can I use 'lp' to print to an 'lpr'-controlled
  1323.                 printer?
  1324. Date: 19 Jun 94 00:00:01 EST
  1325.  
  1326.   Two possible ways:
  1327.  
  1328.   - Write an 'lp' interface script that calls 'lpr'. Impressario 1.1 or
  1329.     later can do this for you; see the Impressario FAQ. If you don't
  1330.     have Impressario you can do it yourself or call SGI and ask for
  1331.     their writeup, "LPTOLPR, A Model File for LP", which includes (in
  1332.     fact, consists of) just such an interface script. A
  1333.     not-guaranteed-to-be-up-to-date copy is at
  1334.     viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-to-lpr.
  1335.  
  1336.   - Write an 'lp' replacement script that calls 'lpr'. One such script
  1337.     is at viz.tamu.edu:/pub/sgi/software/lp-lpr/lp-wrapper-for-lpr.
  1338.  
  1339. ------------------------------
  1340.  
  1341. Subject:   -67- How can I tell 'lp' to turn banner printing or page
  1342.                 reversal off or on?
  1343. Date: 13 Nov 94 00:00:01 EST
  1344.  
  1345.   'lp' controls printers via shell scripts, called 'models', which live
  1346.   in /var/spool/lp/model. When you install a printer, the appropriate
  1347.   model script is copied to /var/spool/lp/interface/<name-of-printer>.
  1348.  
  1349.   To temporarily change a printer's behavior, look at the manpage for
  1350.   its interface script (or, if there is none, the script itself) to see
  1351.   what options it wants, and pass them to the script with 'lp's '-o'
  1352.   option.  For example, 'lp -o"-nobanner" file' tells a "Generic
  1353.   Postscript" printer (described in the gpsinterface(1) manpage) to
  1354.   print 'file' without a banner page.
  1355.  
  1356.   To permanently change a printer's behavior, edit its interface
  1357.   script.  The following are true for "Generic Postscript" printers,
  1358.   but the idea is the same for others:
  1359.  
  1360.   - To turn banner printing off or on, change the line 'BANNER=1' to
  1361.     'BANNER=0' or vice versa.
  1362.  
  1363.   - To turn page reversal off or on, change the line
  1364.     'send=/usr/lib/print/lptops' to 'send="/usr/lib/print/lptops -U"'
  1365.     (note the quotes) or vice versa.
  1366.  
  1367.   In IRIX 5.x, you can change these settings in the printpanel. You can
  1368.   also turn banner printing off on a per-user basis by doing 'echo
  1369.   nobanner >> /var/spool/lp/settings/<printername>/<yourusername>'.
  1370.  
  1371. ------------------------------
  1372.  
  1373. Subject:   -68- SECURITY
  1374. Date: 15 May 94 00:00:01 EST
  1375.  
  1376.   These questions discuss security.
  1377.  
  1378. ------------------------------
  1379.  
  1380. Subject: ! -69- Where can I learn about IRIX and Unix security?
  1381. Date: 26 Feb 95 00:00:01 EST
  1382.  
  1383. ! IRIX: Look in ftp.sgi.com:/Security/ for SGI security advisories and
  1384. ! patches. The Jul/Aug 94 Pipeline has an article discussing general
  1385. ! Unix security with some IRIX-specific aspects.
  1386.  
  1387. ! Unix in general: Read
  1388.   rtfm.mit.edu:/pub/usenet/news.answers/security-faq and the books and
  1389.   papers listed therein for general discussions of Unix security.  Look
  1390.   in ftp.cert.org:/, ciac.llnl.gov:/pub/ciac/ and
  1391.   ftp.tansu.com.au:/pub/docs/security/8lgm/ for CERT, CIAC and 8lgm
  1392.   material (respectively) and general security information and tools.
  1393.   If you have a lot of spare time, consider the comp.security.unix
  1394. ! newsgroup and/or the bugtraq mailing list (bugtraq-request@fc.net).
  1395.  
  1396. ------------------------------
  1397.  
  1398. Subject:   -70- How can I check my system for security problems?
  1399. Date: 09 Oct 94 00:00:01 EST
  1400.  
  1401.   Get Nate Sammons' <nate@vis.colostate.edu> 'securscan' from
  1402.   ftp://ftp.vis.colostate.edu/pub/irix/security/.  It checks for many
  1403.   common IRIX-specific security bugs and problems.  You might also want
  1404.   to try a generic Unix security-checking tool such as COPS or tiger
  1405.   and/or a password checker such as Crack. The security FAQ referenced
  1406.   above gives their locations.
  1407.  
  1408. ------------------------------
  1409.  
  1410. Subject:   -71- How can I configure IRIX more securely?
  1411. Date: 21 Dec 94 00:00:01 EST
  1412.  
  1413.   Several aspects of SGI's default IRIX configuration were chosen for
  1414.   convenience, not security. Unless your machine is not networked, you
  1415.   may be more concerned about security than SGI assumed.  Note that
  1416.   these items have been discussed on Usenet many times, and Usenet
  1417.   chatter is not a good way to change SGI policy. If they bother you,
  1418.   complain to your sales rep and then fix them yourself as follows.
  1419.  
  1420.   Many thanks to Paul "Shag" Walmsley <ccshag@showme.missouri.edu> for
  1421.   several of the items here and elsewhere in the SECURITY section.
  1422.  
  1423.   Under any version of IRIX,
  1424.  
  1425.   - Several accounts come without passwords, including (but not limited
  1426.     to) guest, 4Dgifts, demos, tutor, tour and particularly lp. Examine
  1427.     /etc/passwd and lock all unnecessarily open accounts.  Note that 1)
  1428.     parts of IRIX (e.g. 'inst') use the open guest account by default,
  1429.     and 2) remote 'lp' clients need access to the lp account to print,
  1430.     so you'll need to make other arrangements.
  1431.  
  1432.   - 'xdm' does 'xhost +' by default when you log in. This allows anyone
  1433.     to open windows on your display and even to record what you type at
  1434.     your keyboard. Close this hole by removing the 'xhost +' from
  1435.     /usr/lib/X11/xdm/Xsession, /usr/lib/X11/xdm/Xsession-remote and (in
  1436.     IRIX 5.x) /usr/lib/X11/xdm/Xsession.dt.  In IRIX 5.2 and later you
  1437.     can use X authority to control access to remote displays; see
  1438.     below. In IRIX 5.1.x and earlier X authority doesn't work, so
  1439.     you'll need to use 'xhost' judiciously to get to remote displays:
  1440.     say 'xhost +localhost' to run DGL programs and 'xhost +otherhost'
  1441.     to display remote X programs.
  1442.  
  1443.   - At least some of the possible default values of the PATH
  1444.     environment variable begin with the current directory. (The system
  1445.     interprets either a period or the empty string in any component of
  1446.     PATH as the current directory. PATH is colon-separated, so if it
  1447.     begins with a colon the first component is the empty string.) This
  1448.     exposes you to Trojan horse programs. Set PATH to a safe value
  1449.     (remove the current directory, or at least move it to the end) in
  1450.     /etc/cshrc and/or /etc/profile for regular users and /.login for
  1451.     root.
  1452.  
  1453.   - By default, /etc/config/ypbind.options contains the -ypsetme
  1454.     option. This allows someone who can fake your IP address to change
  1455.     your YP binding. Remove the option to close the hole and add the -s
  1456.     option for a little extra protection. If your site runs ypbind with
  1457.     the -v (verbose) option, you may also want to add 'YPSET=true' to
  1458.     /etc/config/ypmaster.options and comment out the 'ypset' line in
  1459.     /var/yp/ypmake. See the ypbind(1) and ypset(1) manpages for more.
  1460.  
  1461.   - If you use SLIP (see slip(1M)), be sure that SLIP accounts' home
  1462.     directories are not world-writable. SLIP accounts are uid 0, so
  1463.     it's bad if just anyone can mess with their .forward files and the
  1464.     like.  /tmp, which is recommended in the "IRIX Advanced Site and
  1465.     Server Administration Guide", is necessarily world-writable and a
  1466.     bad choice.  You may want to make an empty, root-owned, mode 755
  1467.     directory to the effect of /usr/slip and use that. Any number of
  1468.     SLIP accounts can use a single home directory without conflict.
  1469.  
  1470.   - You *might* want to disallow .rhosts files, by adding the '-l' flag
  1471.     to the rlogind and rshd lines in /usr/etc/inetd.conf. However, this
  1472.     removes real functionality, and should not be done without reason.
  1473.     See the rlogind(1M) and rshd(1M) manpages.  Note, however, that the
  1474.     rlogind flag does not work in IRIX 5.2. It does work in IRIX 5.3.
  1475.  
  1476.   - The default root crontab in current IRIXes
  1477.     (/var/spool/cron/crontabs/root) creates the SYSLOG and cron log with
  1478.     group and world read permission. Change the '033' on lines 25 and 27
  1479.     to '077' to prevent non-superusers from reading these files.
  1480.  
  1481.   - Read the rest of the entries in this section and make the changes
  1482.     they describe if necessary.
  1483.  
  1484.   Under IRIX 5.x only,
  1485.  
  1486.   - Turn on shadow passwords, which are not used by default. Run
  1487.     'pwconv' to move your passwords to /etc/shadow, where only root can
  1488.     read them. Note that you'll have to update /etc/shadow by hand for
  1489.     NIS users. See the pwconv(1M) and shadow(4) manpages.
  1490.  
  1491.   - Limit the hosts from which portmap(1) will accept RPC requests by
  1492.     using the -a option in /etc/config/portmap.options. For example, if
  1493.     your machine is www.xxx.yyy.zzz and your subnet is www.xxx.yyy you
  1494.     can reject RPC requests from outside your subnet by putting '-a
  1495.     255.255.255.0 www.xxx.yyy.0' in that file.
  1496.  
  1497.   This list is guaranteed to be incomplete. Keep your eyes open.
  1498.  
  1499. ------------------------------
  1500.  
  1501. Subject:   -72- How can I log more information about logins?
  1502. Date: 22 Nov 94 00:00:01 EST
  1503.  
  1504.   - 'last', 'who', etc. get remote login information from
  1505.     /var/adm/xutmp and /var/adm/xwtmp. That information is only logged
  1506.     into these files if they already exist. To create them, just say
  1507.     'touch /var/adm/xutmp /var/adm/xwtmp'.
  1508.  
  1509.   - As described in the login(1) manpage, you can add the line
  1510.     'syslog=all' to /etc/config/login.options (IRIX 4.0.x) or change the
  1511.     line 'SYSLOG=FAIL' in /etc/default/login to 'SYSLOG=ALL' (IRIX 5.x)
  1512.     to log all login attempts, not just successful ones, in
  1513.     /var/adm/SYSLOG.
  1514.  
  1515.   - 'ftpd', 'rshd' and 'tftpd' all have options ('-l' or '-L') which
  1516.     cause them to log all accesses. See their manpages. 'ftpd' also has
  1517.     '-ll' and '-lll' options (undocumented before IRIX 5.x) which log
  1518.     individual file transfers and the sizes of those files
  1519.     respectively.  Add the options to the last fields (not the
  1520.     second-to-last) of the appropriate lines of /etc/inetd.conf, then
  1521.     do 'killall -HUP inetd' or reboot.
  1522.  
  1523.   - Consider using TCP wrappers. These allow you to restrict
  1524.     connections to individual TCP daemons to particular hosts and
  1525.     prevent some forms of address spoofing. You can get source code
  1526.     from ftp://ftp.win.tue.nl/pub/security/.
  1527.  
  1528. ------------------------------
  1529.  
  1530. Subject:   -73- How can I make an anonymous or restricted FTP account?
  1531. Date: 04 May 94 00:00:01 EST
  1532.  
  1533.   Read the ftpd(1M) manpage and/or the article in the March/April 1994
  1534.   Pipeline. However, both discussions have a serious error: the ftp
  1535.   account's home directory (/usr/people/ftp) should be owned and
  1536.   writable only by root, NOT ftp. You might also want to make the 'pub'
  1537.   directory "sticky" with 'chmod +t' (like /tmp and /usr/tmp) so that
  1538.   one user can't delete another's files. A script which sets up a
  1539.   secure anonymous FTP account is at
  1540.   viz.tamu.edu:/pub/sgi/software/ftp/make-anonftp.
  1541.  
  1542. ------------------------------
  1543.  
  1544. Subject: ! -74- How can I get X authorization to work?
  1545. Date: 26 Feb 95 00:00:01 EST
  1546.  
  1547.   Under IRIX 5.1.x or earlier, don't try. The MIT-MAGIC-COOKIE-1
  1548.   protocol did not work, and DGL programs did not understand X
  1549.   authority.
  1550.  
  1551.   Under IRIX 5.2 or later, heed the wise words of Mark Kilgard of SGI's
  1552.   X Window Systems group <mjk@hoot.asd.sgi.com>:
  1553.  
  1554.   The basic mechanism for the MIT-MAGIC-COOKIE-1 authorization protocol
  1555.   is implemented by the X server, Xlib, and xdm, and does work in IRIX
  1556.   5.x.  MIT-MAGIC-COOKIE-1 is the only supported protocol.
  1557.  
  1558.   Two caveats before I describe how to enable X authorization:
  1559.  
  1560.   1) Old remote IRIS GL programs probably will not be able to connect
  1561.      to the X server when X authority is enabled. (More on this below.)
  1562.  
  1563.   2) Due to a problem with how the local hostname is handled, to use X
  1564.      authority in the IRIX 5.x releases, you will need to make sure
  1565.      your /etc/sys_id file has a simple hostname, ie. hoot instead of a
  1566.      fully resolved hostname like hoot.asd.sgi.com  This problem has
  1567.      already been fixed for the next general release of IRIX.
  1568.  
  1569.   TO ENABLE X AUTHORIZATION, do the following to your IRIX 5.2 system:
  1570.  
  1571.       1)  Edit /var/X11/xdm/xdm-config as root and change the line
  1572.       saying
  1573.  
  1574.   DisplayManager*authorize:               off
  1575.  
  1576.         to say
  1577.  
  1578.   DisplayManager*authorize:               on
  1579.  
  1580.       2) Edit /var/X11/xdm/Xsession, /var/X11/xdm/Xsession-remote, and
  1581.      /var/X11/xdm/Xsession.dt as root and change the line saying
  1582.  
  1583.   /usr/bin/X11/xhost +
  1584.  
  1585.          to say
  1586.  
  1587.   #/usr/bin/X11/xhost +
  1588.  
  1589.          This disables the "xhost +" by commenting out the command.
  1590.  
  1591.       3) Make sure your /etc/sys_id file has no periods in it.  For
  1592.      example, change as root:
  1593.  
  1594.   hoot.asd.sgi.com
  1595.  
  1596.          to say
  1597.  
  1598.   hoot
  1599.  
  1600.       4) Reboot the machine OR restart a new xdm and X server.  This
  1601.      can be done as root with the following command:
  1602.  
  1603.   (/usr/gfx/stopgfx; killall xdm; /usr/gfx/startgfx) &
  1604.  
  1605.       5) Log in.  X authorization should be enabled.
  1606.  
  1607.   If you want to disable X authorization and return to the default
  1608.   system state where X clients can connect to the X server from any
  1609.   machine, reverse the changes in steps 1 and 2 and repeat step 4.
  1610.  
  1611.   If you want more information on X authorization, see the manpages for
  1612.   xdm(1), Xserver(1), Xsgi(1), Xsecurity(1), xauth(1) and xhost(1).
  1613.  
  1614.   X AUTHORITY AND REMOTE IRIS GL PROGRAMS: One of the major reaons for
  1615.   Silicon Graphics shipping its window system so that an X client from
  1616.   any machine could connect to the X server was because IRIS GL
  1617.   programs running remote using the DGL (distributed GL) protocol
  1618.   didn't interoperate with the X authorization mechanism; the dgld
  1619.   daemon that would run on the machine with graphics hardware had no
  1620.   way to get the correct X authority information to connect to the X
  1621.   server.
  1622.  
  1623.   This has been fixed for IRIX 5.2, but the fix only applies to IRIX 5
  1624.   binaries running remotely on an IRIX 5.2 system connecting to an IRIX
  1625.   5.2 X server.  In particular, remotely run IRIX 4 IRIS GL binaries
  1626.   will continue to not interoperate with an IRIX 5.2 X server (or a
  1627.   pre-IRIX 5.2 X server).  If you recompile your old IRIS GL binaries
  1628.   on IRIX 5.2, they then will work remotely connecting to IRIX 5.2 X
  1629.   servers running X authority.
  1630.  
  1631.   The bottom line is that if you want an IRIS GL program to run
  1632.   remotely on an X server using X authorization, you need to make sure
  1633.   the program is an IRIX 5 binary running on an IRIX 5.2 machine and
  1634.   the machine with the X server is also an IRIX 5.2 machine.
  1635.  
  1636.   To avoid a possible misconception: IRIS GL programs RUNNING LOCALLY
  1637.   (ie, not using DGL) WILL WORK FINE on an IRIX 5.2 system no matter if
  1638.   they are IRIX 4 or IRIX 5 binaries.  The problem with X authority is
  1639.   only for REMOTE IRIS GL programs.
  1640.  
  1641.   Also note that for X authorization to work for remote hosts, the
  1642.   remote program must have access to the correct X authorization magic
  1643.   cookie (normally read from ~/.Xauthority).  If you don't have a
  1644.   shared NFS mounted home directory, you'll probably need to use the
  1645.   xauth command to transfer the X authorization magic cookie to the
  1646.   remote ~/.Xauthority file.
  1647.  
  1648.   THE FUTURE:  Hopefully in the next general release of IRIX, a
  1649.   mechanism to enable and disable X authorization using a chkconfig
  1650.   option will be supported.  The problem with /etc/sys_id not having
  1651.   periods will definitely be fixed in the next general release of
  1652.   IRIX.  The problem with pre-IRIX 5.2 X servers and binaries not
  1653.   interoperating with X authorization will likely not be fixed. Fixing
  1654.   the problem required a DGL protocol extension which both the IRIS GL
  1655.   program and dgld must know about; this can't be fixed in already
  1656.   shipped software.
  1657.  
  1658.   [Ed: As of IRIX 5.3, there is no chkconfig option for X authority.
  1659.   The status of the /etc/sys_id problem is unknown to us. There is a bug
  1660. ! in NFS3 which truncates ~/.Xauthority files; it's fixed by patch 216.
  1661.  
  1662. ------------------------------
  1663.  
  1664. Subject: ! -75- What security-related bugs does IRIX have?
  1665. Date: 26 Feb 95 00:00:01 EST
  1666.  
  1667.   Some general comments before we start:
  1668.  
  1669.   - IRIX is too complex for us to guarantee that this list is complete.
  1670.     We only discuss problems we know about. We don't discuss insecurely
  1671.     designed systems (like YP) or ways in which you might misconfigure
  1672.     your system, only bugs.  We don't discuss third-party software,
  1673.     free or not.
  1674.  
  1675.   - Prudence and space permit us to describe only how to close holes,
  1676.     not to exploit them. Try comp.security.unix.
  1677.  
  1678.   - Some of the fixes involve installing a new version of a setuid
  1679.     binary.  Be sure that you 1) make it executable, setuid and owned
  1680.     by the correct user and group (or it won't work), and 2) remove the
  1681.     old version so bad guys can't use it!
  1682.  
  1683.   Now for the holes themselves, in approximate order of closure:
  1684.  
  1685.   - CERT advisory CA-92:08, which you can get from
  1686.  
  1687.       ftp.cert.org:/pub/cert_advisories/CA-92:08.SGI.lp.vulnerability
  1688.  
  1689.     describes problems with the permissions of 'lp'-related parts of
  1690.     IRIX which allow anyone who can log in as lp to get root access.
  1691.     They are fixed in IRIX 4.0.5.  Briefly, the fix is
  1692.  
  1693.       su root
  1694.       cd /usr/lib
  1695.       chmod a-s,go-w lpshut lpmove accept reject lpadmin
  1696.       chmod go-ws lpsched vadmin/serial_ports vadmin/users vadmin/disks
  1697.       cd /usr/bin
  1698.       chmod a-s,go-w disable enable
  1699.       chmod go-ws cancel lp lpstat
  1700.  
  1701.   - CERT advisory CA-93:17, which you can get from
  1702.  
  1703.       ftp.cert.org:/pub/cert_advisories/CA-93:17.xterm.logging.vulnerability
  1704.  
  1705.     describes a hole in /usr/bin/X11/xterm which allows any user root
  1706.     access. It is fixed in IRIX 5.x.  A fixed version for 4.x is at
  1707.  
  1708.       ftp.sgi.com:/sgi/IRIX4.0/xterm/
  1709.  
  1710.     The 'fix', incidentally, is that logging is completely disabled.
  1711.  
  1712.   - /usr/bin/under is an unused (!) part of 'rexd'. It is setuid root
  1713.     and may allow root access, so 'chmod -s' it just in case. Note that
  1714.     SGI ships IRIX with 'rexd' turned off because 'rexd' is itself a
  1715.     security problem. It is not shipped in IRIX 5.x.
  1716.  
  1717.   - CIAC Bulletin F-01, which you can get from 
  1718.  
  1719.       ciac.llnl.gov:/pub/ciac/bulletin/f-fy95/f-01.ciac-SGI-IRIX-serial-ports
  1720.  
  1721.     describes a race condition in IRIX 4.0.x's
  1722.     /usr/lib/vadmin/serial_ports which allows any user to become root
  1723.     in IRIX 4.0.x. 'chmod 700' it to close the hole; it will still work
  1724.     fine.
  1725.  
  1726.     /usr/lib/vadmin/serial_ports is part of IRIX 4.0.x and should not
  1727.     exist on IRIX 5.x systems, but some users have reported problems
  1728.     with upgrading from 4.0.x to 5.x which leave old binaries behind.
  1729.     If the file exists on your 5.x system, remove it. (5.x's
  1730.     equivalent, /usr/Cadmin/bin/cports, does not have the problem.)
  1731.  
  1732.   - /usr/bsd/rdist has several holes which allow any user root access in
  1733.     all versions of IRIX before 5.3, including the 4.0.5 and 5.x
  1734.     binaries on ftp.sgi.com.
  1735.  
  1736.     Under IRIX 5.2, you can install patch 130 to close all known holes.
  1737.     Under IRIX 4.0.x, you must close the hole with 'chmod -s'.  rdist
  1738.     will then work only when used by root. If your non-root users need
  1739.     'rdist', there is a free version, which does not need to be setuid
  1740.     root and is thus free of all known holes, in usc.edu:/pub/rdist/.
  1741.     Make sure you get version 6.1 beta 3 or later. IRIX 5.3's rdist is
  1742.     derived from this version and is thus equally safe; presumably
  1743.     ordist is the IRIX 5.2-patch 130 rdist and is also safe.
  1744.  
  1745.     As for advisories, CERT advisory CA-91:20, at
  1746.  
  1747.       ftp.cert.org:/pub/cert_advisories/CA-91:20.rdist.vulnerability
  1748.  
  1749.     is badly out of date. 8lgm advisory 1, at
  1750.  
  1751.       ftp.tansu.com.au:/pub/docs/security/8lgm/8lgm-Advisory-1.UNIX.rdist.23-Apr-1991
  1752.  
  1753.     describes only one of the several holes.
  1754.  
  1755.   - The 'lpr' subsystem in every version of IRIX before 5.3 has several
  1756.     holes which allow a non-root user to become root. Note that 'lp' is
  1757.     SGI's usual printing system; you only need 'lpr' if you need to deal
  1758.     with remote printers. If you don't need 'lpr', make sure it isn't
  1759.     installed. (It lives in the eoe2.sw.lpr subsystem.) If you do need
  1760.     'lpr', there are fixed versions at
  1761.  
  1762.       ftp.sgi.com:/sgi/IRIX4.0/lpr/lpr.latest.Z
  1763.       ftp.sgi.com:/sgi/IRIX5.0/lpr/lpr.latest.Z
  1764.  
  1765.     The versions dated 29 and 26 April, respectively, work with NIS
  1766.     (YP).  The IRIX 5.x version is also available from the TAC as patch
  1767.     131.
  1768.  
  1769.   - /usr/sbin/cdinstmgr is setuid root in IRIX 4.0.5[A-F] and
  1770.     /etc/init.d/audio is setuid root in IRIX 5.2. They are scripts;
  1771.     setuid scripts are a well-known Unix security problem. IRIX ignores
  1772.     the setuid bit by default, but 'chmod -s' the scripts just in case.
  1773.  
  1774. ! - SGI advisory 19950209-01-P, which you can get from
  1775.  
  1776. !     ftp.sgi.com:/Security/19950209-01-P
  1777.  
  1778. !   describes a bug in colorview in IRIX 5.x before 5.3, which allows
  1779. !   anyone to use it to read any file regardless of permissions, and
  1780. !   gives a fix.
  1781.  
  1782.   - /usr/bin/newgrp is group-writable in IRIX 5.2. It doesn't need to
  1783.     be, and it might be a problem depending on your use of group sys
  1784.     and/or the presence of the 'sadc' bug (described elsewhere in this
  1785.     list) on your system. 'chmod g-w' it.
  1786.  
  1787.   - /usr/sbin/printers has a bug in IRIX 5.2 (and possibly earlier 5.x
  1788.     versions) which allows any user to become root. Call the TAC and
  1789.     request patch 5. You might want to 'chmod -s' it while you're
  1790.     waiting.
  1791.  
  1792.   - /usr/sbin/sgihelp has a bug in IRIX 5.2 (and possibly earlier 5.x
  1793.     versions) which allows any user to become root. This is so bad that
  1794.     the patch (#65, along with the prerequisite patch 34) is FTPable
  1795.     from ftp.sgi.com:/security/, and SGI is preparing a CD containing
  1796.     only that patch. Call the TAC if you can't FTP. You should 'chmod
  1797.     -x /usr/sbin/sgihelp' while you're waiting.
  1798.  
  1799.   - The inst which comes with patch 34 (for IRIX 5.2), which is required
  1800.     for installation of all other patches (even those with lower
  1801.     numbers) saves old versions of binaries in /var/inst/patchbase. It
  1802.     does not remove execution or setuid permissions! 'chmod 700' that
  1803.     directory so evil users can't get to the old binaries. The bug is
  1804.     fixed in patch 82 for IRIX 5.2 and in IRIX 5.3.
  1805.  
  1806.   - 8lgm advisory 11, which you can get from
  1807.  
  1808.       ftp.tansu.com.au:/pub/docs/security/8lgm/8lgm-Advisory-11.UNIX.sadc.07-Jan-1992
  1809.  
  1810.     describes a hole in the System V system activity reporting program
  1811.     /usr/lib/sa/sadc which allows any user to write files with the
  1812.     permissions of that program. This bug is present in all versions of
  1813.     IRIX through 5.3, but since /usr/lib/sa/sadc is only setgid sys it
  1814.     can only be used to change groups sys-writable files or write files
  1815.     in group sys-writable directories.  If you don't use the system
  1816.     activity reporter you might want to 'chmod -s /usr/lib/sa/sadc' just
  1817.     to be safe. Because this hole isn't serious it isn't scheduled to be
  1818.     closed, but write permission for group sys has been removed from
  1819.     most directories where it wasn't necessary in IRIX 5.3, and a few
  1820.     more (/dev/*dsk) will be fixed in a later release.
  1821.  
  1822.   - /usr/etc/mount_dos, IRIX's DOS-filesystem floppy mounter, has a
  1823.     serious bug in IRIX 5.2 (and probably earlier releases of 5.x as
  1824.     well) which allows anyone with an account on and physical access to
  1825.     a machine with a floppy drive root access.  This bug can be fixed
  1826.     with patch 167 from the TAC and is reportedly fixed in IRIX 5.3.
  1827.     Perhaps the easiest interim "fix" (which essentially disables all
  1828.     removable media drives) is to disable mediad: "mediad -k" kills the
  1829.     current instance of mediad, and "chkconfig mediad off" prevents
  1830.     mediad from starting during the next reboot.
  1831.  
  1832.   - /usr/etc/rpc.ypupdated may have a security hole in all versions of
  1833.     IRIX. It is completely unnecessary in most networks; the only
  1834.     instance that we could think of that might require this daemon would
  1835.     be NIS networks that include Sun diskless clients. You should
  1836.     probably comment it out of /etc/inetd.conf, or just not install the
  1837.     nfs.sw.nis subsystem, of which it is a part. It is commented out by
  1838.     default in IRIX 5.3.
  1839.  
  1840. + - SGI advisory 19950201-02-P332, which you can get from
  1841.  
  1842. +     ftp.sgi.com:/Security/19950201-02-P332
  1843.  
  1844. +   describes a hole or holes in /usr/lib/sendmail which allow anyone
  1845. +   root access, whether they can log in initially or not! The holes are
  1846. +   present in all versions of IRIX; the advisory points to patches for
  1847. +   all supported versions of IRIX.
  1848.  
  1849. +   These patches also fix a bug present in every IRIX sendmail before
  1850. +   5.3: /usr/bsd/newaliases (which is just a symlink to
  1851. +   /usr/lib/sendmail) creates /etc/aliases.{dir,pag} with mode 666. Any
  1852. +   user can thus add aliases which can run programs or steal mail.
  1853. +   Close the hole with 'chmod go-w /etc/aliases.dir /etc/aliases.pag'.
  1854. +   sendmail doesn't change those files' permissions once they exist, so
  1855. +   a) you should check them even if you've installed a sendmail in
  1856. +   which the problem is fixed and b) once they exist and have proper
  1857. +   permissions, you're OK.
  1858.  
  1859. These bugs have not been fixed, as far as we know, in any IRIX version
  1860. or patch so far:
  1861.  
  1862.   - /usr/etc/arp is setgid sys in IRIX up to and including 5.3,
  1863.     allowing anyone who can log into your machine to read files which
  1864.     should be readable only by group 'sys'.  Close the hole with 'chmod
  1865.     -s'. This prevents non-root users from using 'arp' at all, but they
  1866.     don't generally need it.
  1867.  
  1868.   - /usr/lib/so_locations.old can acquire random permissions after an
  1869.     'inst' session in IRIX 5.3, due to a linker bug. It may become both
  1870.     executable and setuid and/or setgid. It is not a script but could be
  1871.     used as one; setuid scripts are a well-known Unix security problem.
  1872.     IRIX ignores the setuid bit by default, but 'chmod -xs' it just in
  1873.     case. The linker bug should be fixed in the next IRIX after 5.3.
  1874.  
  1875.   - 8lgm advisory 12, which you can get from
  1876.  
  1877.       ftp.tansu.com.au:/pub/docs/security/8lgm/8lgm-Advisory-12.UNIX.suid_exec.27-Jul-1991
  1878.  
  1879.     describes a bug in /etc/suid_exec (part of ksh) which allows any
  1880.     user to become root. It is not known whether this bug is present in
  1881.     any version of IRIX, but if you don't use setuid ksh scripts you
  1882.     might want to 'chmod -s /etc/suid_exec' just to be safe.
  1883.  
  1884. ------------------------------
  1885.  
  1886. Subject: ! -76- I think I've found a security hole in IRIX; whom do I
  1887.                 notify at SGI?
  1888. Date: 26 Feb 95 00:00:01 EST
  1889.  
  1890. ! First, call the TAC as for any bug.  Next, send email to
  1891. ! security-alert@sgi.com. You may want to CC your mail to one of the SGI
  1892. ! employees who regularly post to Usenet, several of whom have indicated
  1893. ! that they will be glad to know about such things.  You can also notify
  1894. ! CERT <cert@cert.org>, who will contact the appropriate people from
  1895. ! their contact list. They may take some time.
  1896.  
  1897. ------------------------------
  1898.  
  1899. Subject:   -77- BUGS
  1900. Date: 15 May 94 00:00:01 EST
  1901.  
  1902.   These questions discuss miscellaneous bugs in IRIX.
  1903.  
  1904. ------------------------------
  1905.  
  1906. Subject:   -78- Why is my network license daemon ('netlsd') exiting?
  1907. Date: 20 May 93 00:00:01 CST
  1908.  
  1909.   For netlsd to run, you need to have 'llbd' and 'glbd' installed and
  1910.   running.  A complete debugging procedure is in the netls release
  1911.   notes, which can be read with 'relnotes netls_eoe 5'.
  1912.  
  1913.   Please let us know if this problem went away in recent IRIXes.
  1914.  
  1915. ------------------------------
  1916.  
  1917. Subject:   -79- What's this 'iotim' error in my syslog in IRIX 4.0.x?
  1918. Date: 13 Nov 94 00:00:01 EST
  1919.  
  1920.   It's a bug in 'rpc.rstatd' which affects several programs including
  1921.   'ruptime' and 'sysmeter'.
  1922.  
  1923.   Before IRIX 4.0.5H, 'rpc.rstatd' says
  1924.  
  1925.     rstatd[4840]: read: iotim: No such device or address
  1926.  
  1927.   If you see this, upgrade to a newer IRIX or get the patched
  1928.   'rpc.rstatd' from ftp.sgi.com:/support/rpc.rstatd.
  1929.  
  1930.   In 4.0.5H and IOP 'rpc.rstatd' ignores the problem (returning all but
  1931.   the SCSI disk stats which cause the error) but still generates the
  1932.   following message:
  1933.  
  1934.     rstatd[4941]: read: bad iotim, no disk stats: No such device or address
  1935.  
  1936.   This may be ignored.
  1937.  
  1938.   In IRIX 5.x, the problem is completely fixed.
  1939.  
  1940. ------------------------------
  1941.  
  1942. Subject:   -80- Why do some programs parse /etc/fstab incorrectly in
  1943.                 IRIX 4.0.5?
  1944. Date: 10 Dec 94 00:00:01 EST
  1945.  
  1946.   In IRIX 4.0.5, some programs (e.g. 'fsr') misinterpret lines in
  1947.   /etc/fstab, so that, e.g.,
  1948.  
  1949.     /dev/usr /usr efs rw,raw=/dev/rusr,quota 0 0
  1950.  
  1951.   would cause 'fsr' to think that the raw device pathname was
  1952.   "/dev/rusr,quota" instead of "/dev/rusr". There is no such device, so
  1953.   /dev/rusr would never be defragmented. You can work around this by
  1954.   putting the "raw" option last:
  1955.  
  1956.     /dev/usr /usr efs rw,quota,raw=/dev/rusr 0 0
  1957.  
  1958.   This is fixed in IRIX 5.x.
  1959.  
  1960. ------------------------------
  1961.  
  1962. Subject:   -81- Why is my Indigo's Ethernet performance dog-slow under
  1963.                 IRIX 4.0.x?
  1964. Date: 13 Nov 94 00:00:01 EST
  1965.  
  1966.   You need the "E++" patch to IRIX 4.0.5, IRIX 4.0.5IOP ("Indigo Only
  1967.   Patch"), which includes the E++ patch, or IRIX 5.x.
  1968.  
  1969. ------------------------------
  1970.  
  1971. Subject:   -82- Why is my Indigo getting SIGSEGVs and crashing under
  1972.                 IRIX 4.0.5IOP?
  1973. Date: 13 Nov 94 00:00:01 EST
  1974.  
  1975.   Make sure you've installed the 4.0.5IOP NFS maintenance patch along
  1976.   with the rest of 4.0.5IOP. If you're sure you have, call the TAC.
  1977.   You may need the "IP20 ethernet patch".  This comes *after* 4.0.5IOP,
  1978.   and is not to be confused with the older "E++ patch" (see the
  1979.   previous question).
  1980.  
  1981. ------------------------------
  1982.  
  1983. Subject:   -83- Why is my Indigo2 panicking under IRIX 4.0.5?
  1984. Date: 13 Nov 94 00:00:01 EST
  1985.  
  1986.   There are several keyboard-related bugs in IRIX 4.0.5H and 4.0.5IOP
  1987.   which cause Indigo2s to crash or freeze. One sign that these
  1988.   particular bugs are responsible is the message "PANIC: Timeout Table
  1989.   Overflow" or "WARNING: Couldn't allocate streams buffer" in
  1990.   /usr/adm/SYSLOG.  Get the "Indigo2 keyboard patch" (aka "pckm patch")
  1991.   from SGI or upgrade to IRIX 5.2.
  1992.  
  1993. ------------------------------
  1994.  
  1995. Subject:   -84- Why do 'who', 'rusers', etc. show users who aren't
  1996.                 really logged in?
  1997. Date: 30 Jan 95 00:00:01 EST
  1998.  
  1999.   Several bugs in different versions of IRIX cause /etc/utmp to not be
  2000.   updated properly after a user logs out. Programs incorrectly reporting
  2001.   logins are correctly reporting the incorrect contents of /etc/utmp.
  2002.   One such bug is present in an unspecified part of IRIX 4.0.x and fixed
  2003.   in IRIX 5.x, and another is in ftpd in IRIX 5.2 and fixed in patch 162
  2004.   and IRIX 5.3.
  2005.  
  2006.   If one can't fix the bug which causes the incorrect /etc/utmp entries,
  2007.   one can run a separate program to remove them from /etc/utmp after the
  2008.   fact. jer@blaise.cif.rochester.edu, David Hinds
  2009.   <dhinds@allegro.stanford.edu> and Patrick M. Ryan <pat@gsfc.nasa.gov>
  2010.   have written such programs, and the programs can be found in
  2011.   viz.tamu.edu:/pub/sgi/software/utmp/. SGI provides such a program,
  2012.   /usr/sbin/chkutent, in IRIX 5.3; the root crontab runs it daily.
  2013.  
  2014. ------------------------------
  2015.  
  2016. Subject:   -85- What's wrong with ftpd in IRIX 5.2?
  2017. Date: 30 Jan 95 00:00:01 EST
  2018.  
  2019.   It doesn't maintain utmp properly (see the previous entry) and it dies
  2020.   during 'mget's. Get patch 162 from the TAC or upgrade to 5.3.
  2021.  
  2022. ------------------------------
  2023.  
  2024. Subject:   -86- Why isn't /usr/adm/SYSLOG being updated?
  2025. Date: 23 Jun 94 00:00:01 CST
  2026.  
  2027.   Popular causes include:
  2028.  
  2029.   - running out of disk space. Once syslogd is unable to write to
  2030.     /usr/adm/SYSLOG, it won't try again until it is `killall -HUP
  2031.     syslogd`ed.
  2032.  
  2033.   - installing IRIX 4.0.x and failing to heed the nagging from
  2034.     the system when it is rebooted to run 'versions changed' and
  2035.     combine new and old configuration files.  In this case, the trouble
  2036.     is in /usr/spool/cron/crontabs/root.
  2037.  
  2038.   - Separating fields in /etc/syslog.conf with spaces instead of tabs.
  2039.     If you use tabs, syslogd will silently segv when it reads that
  2040.     file.  This should be fixed in IRIX 5.3.
  2041.  
  2042. ------------------------------
  2043.  
  2044. Subject:   -87- I just edited /etc/inittab, and now I can't start up or
  2045.                 shut down my SGI! What's wrong?
  2046. Date: 03 Dec 94 00:00:01 EST
  2047.  
  2048.   If the last line of /etc/inittab is a comment, init will screw up
  2049.   horribly.  If your machine is still running, remove the comment and
  2050.   everything will be OK. If not, go to the miniroot, run the shell and
  2051.   remove the comment from there. The following sequence of commands is
  2052.   one possible way to do this:
  2053.  
  2054.     cd /root/etc
  2055.     cat inittab        # Decide how many lines to remove (say three)
  2056.     wc inittab        # See how many lines inittab has (say 120)
  2057.     head -117 inittab > inittab.new   # Keep the first 120 - 3 lines
  2058.     mv inittab inittab.old
  2059.     mv inittab.new inittab
  2060.     cat inittab        # Just making sure
  2061.  
  2062.   and reboot. Don't forget the 'cd'; from the miniroot's point of view,
  2063.   /etc/inittab is /root/etc/inittab.
  2064.  
  2065.   The problem should be fixed in IRIX 5.3.
  2066.  
  2067. ------------------------------
  2068.  
  2069. Subject:   -88- Why does timed say "bind: Cannot assign requested
  2070.                 address"?
  2071. Date: 29 Oct 94 00:00:01 EST
  2072.  
  2073.   timed is incompatible with the rld which comes with patchSG0000023,
  2074.   which is needed for DeltaCC. There are two solutions to this problem
  2075.   (thanks to Alan Davis <davis@masig.fsu.edu>):
  2076.  
  2077.   - Get a new timed from SGI.
  2078.  
  2079.   - Replace the following line in /etc/init.d/network.options (line 664
  2080.     in an unmodified IRIX 5.2 file)
  2081.  
  2082.     /usr/etc/timed -M `cat $CONFIG/timed.options 2> /dev/null` &
  2083.  
  2084.     with
  2085.  
  2086.     env _RLD_ARGS="-clearstack" /usr/etc/timed `cat $CONFIG/timed.options 2> /dev/null` &
  2087.  
  2088. ------------------------------
  2089.  
  2090. Subject:   -89- Why is famd hammering my NFS server?
  2091. Date: 22 Nov 94 00:00:01 EST
  2092.  
  2093.   It's partly a bug. Get patch 165 for IRIX 5.2 and patch 166 for IRIX
  2094.   5.3. It's partly just famd's nature; you can try to calm it down by
  2095.   changing its polling interval (6 seconds by default, specified by the
  2096.   '-t 6' flag) in /etc/inetd.conf.
  2097.  
  2098. ------------------------------
  2099.  
  2100. Subject:   -90- MISCELLANEOUS
  2101. Date: 15 May 94 00:00:01 EST
  2102.  
  2103.   Everything else.
  2104.  
  2105. ------------------------------
  2106.  
  2107. Subject:   -91- How do I set the number of processes allowed on my
  2108.                 machine?
  2109. Date: 13 Nov 94 00:00:01 EST
  2110.  
  2111.   Use systune(1M) to change 'nproc' (in the 'numproc' group of
  2112.   parameters) and reboot.
  2113.  
  2114. ------------------------------
  2115.  
  2116. Subject:   -92- Where can I get a termcap file for 'iris-ansi-net' to
  2117.                 install on my non-SGI system?
  2118. Date: 20 May 93 00:00:01 CST
  2119.  
  2120.   SGIs use terminfo, so you need to translate the terminfo description
  2121.   to termcap. 'infocmp -Cr iris-ansi-net' will produce an iris-ansi-net
  2122.   termcap file. See infocmp(1) for more. Note that 'infocmp' is in the
  2123.   eoe2.sw.terminf subsystem, which is not installed by default.
  2124.  
  2125. ------------------------------
  2126.  
  2127. Subject:   -93- How can I make my SGI understand strange terminal types
  2128.                 from other Unix systems?
  2129. Date: 16 Dec 94 00:00:01 EST
  2130.  
  2131.   If the other system uses terminfo, use 'infocmp -I whatever > file' to
  2132.   extract the terminfo entry for the terminal. Transfer the file to your
  2133.   SGI and do 'tic file' (as root) to put the entry into the terminfo
  2134.   database.
  2135.  
  2136.   If the other system uses termcap, snip the termcap entry out of
  2137.   /etc/termcap (or wherever) with an editor, transfer it to your SGI
  2138.   and (as root) do 'captoinfo file > newfile' and 'tic newfile'.
  2139.  
  2140.   See also the infocmp(1), captoinfo(1), tic(1) and terminfo(4)
  2141.   manpages, and make sure you've installed eoe2.sw.terminf, which
  2142.   contains all of the programs.
  2143.  
  2144. ------------------------------
  2145.  
  2146. Subject:   -94- Can I change my full name or login shell without being
  2147.                 superuser?
  2148. Date: 16 Mar 94 00:00:01 EST
  2149.  
  2150.   Maybe. IRIX has no 'chfn' or 'chsh', so if you're a local user you're
  2151.   stuck. However, if your account is on NIS (Yellow Pages) you can use
  2152.   'ypchpass'. You might also ask your superuser to install one of the
  2153.   many free implementations of 'chfn' and/or 'chsh'; one is in volume 3
  2154.   of comp.sources.unix (ftp.uu.net:/usenet/comp.sources.unix/volume3/).
  2155.  
  2156. ------------------------------
  2157.  
  2158. Subject:   -95- How can I administer my Iris without a graphics
  2159.                 terminal?
  2160. Date: 13 Apr 94 00:00:01 EST
  2161.  
  2162.   The visual admin tools in IRIX 4.0.x ('vadmin') need GL, and do not
  2163.   work on X terminals or workstations without GL. You can use 'sysadm'
  2164.   on text terminals for some tasks, but beware of bugs and
  2165.   inadequacies: SGI judged 'sysadm' to be too buggy to be worth
  2166.   updating for IRIX 5.x.
  2167.  
  2168.   The visual admin tools in IRIX 5.2 and later should display on any X
  2169.   display, *except* for the backup/restore tool which is an exact port
  2170.   from IRIX 4.0.x and requires GL. Some images will be missing when GL
  2171.   is unavailable, but the tools will function properly. As for text
  2172.   terminals, you're out of luck: 'sysadm' does not exist in IRIX 5.x.
  2173.  
  2174.   Of course, you can always use a text editor and write scripts, or see
  2175.   the next question.
  2176.  
  2177. ------------------------------
  2178.  
  2179. Subject:   -96- How can I use the visual admin tools on a system with
  2180.                 graphics to administer a system without graphics?
  2181. Date: 12 Feb 94 00:00:01 EST
  2182.  
  2183.   rlogin to the graphics-less system and run 'vadmin' (IRIX 4.0.x) or
  2184.   'chost' (IRIX 5.x).  Make sure that the DISPLAY environment variable
  2185.   is set correctly and that both the vadmin/sysadmdesktop and the
  2186.   shared library subsystems are installed on the graphics-less system
  2187.   (which they are in the default installation).
  2188.  
  2189.   Under IRIX 5.x, look at the READMEs in /var/sysadmdesktop/rsysmanapps
  2190.   and /var/sysadmdesktop/sysmanapps to find out how to use 'chost' to
  2191.   run commands on remote systems. Finally, in a future release of IRIX
  2192.   5.x, the sysadmdesktop tools will be able to manage remote systems
  2193.   *without* doing an rlogin.
  2194.  
  2195. ------------------------------
  2196.  
  2197. Subject:   -97- Can I put a single large picture in the 'clogin'
  2198.                 display?
  2199. Date: 30 Jan 95 00:00:01 EST
  2200.  
  2201.   Not in IRIX 5.0-5.2 or 6.x. You could in IRIX 4.0.x and earlier, and
  2202.   you can in IRIX 5.3.
  2203.  
  2204. ------------------------------
  2205.  
  2206. End of sgi/faq/admin Digest
  2207. ******************************
  2208. -- 
  2209. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  2210. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  2211.